eucalypt
>= 0.9.0
>= 0.9.0
  • eucalypt
  • Installation
  • CLI
    • Core
      • Init
      • Launch
      • Console
      • Test
      • Version
      • Rake
      • Help (-H)
    • Generate
      • Controller
      • Helper
      • Model
      • Scaffold
    • Destroy
      • Controller
      • Helper
      • Model
      • Scaffold
    • Blog
      • Setup
      • Article
        • List
        • Generate
        • Destroy
        • Edit
          • Urltitle
          • Datetime
    • Migration
      • Blank
      • Types
      • Create
        • Table
      • Add
        • Index
        • Column
      • Drop
        • Table
        • Index
        • Column
      • Rename
        • Table
        • Index
        • Column
      • Change
        • Column
  • Features
    • Controllers
    • Helpers
    • Views
      • Layouts
      • Partials
    • Static data
    • Core application file
    • Configuration
      • Logging
      • Asset pipeline
        • Manifest asset files
      • Initializers
      • Database
    • Manifest accessor
    • Application path helpers
    • Blog environment
      • Articles
    • Rendering static files
    • Maintenance mode
Powered by GitBook
On this page
  • Command
  • Options/flags
  • Examples
  1. CLI
  2. Blog
  3. Article

List

Display the metadata of blog articles.

Command

$ eucalypt blog article list
# Alias/shortened
$ eucalypt b article list
$ eucalypt b article l
$ eucalypt b a list
$ eucalypt b a l

Options/flags

  • --descending alias -d, (Default: True)

    Specify whether or not to display blog articles in descending order (newest first).

  • --ascending alias -a, (Default: False)

    Specify whether or not to display blog articles in ascending order (oldest first).

  • --tag alias -t

    Search for blog articles by the specified tag (can be combined with the other search filters).

  • --year alias -Y

    Search for blog articles by the specified year (can be combined with the other search filters).

  • --month alias -M

    Search for blog articles by the specified month (can be combined with the other search filters).

  • --day alias -D

    Search for blog articles by the specified day (can be combined with the other search filters).

Examples

  • $ eucalypt b article list -d

    Display all blog articles in descending order (newest first).

  • $ eucalypt b article list -a

    Display all blog articles in ascending order (oldest first).

  • $ eucalypt b article list -t programming

    Search for blog articles with the programming tag.

  • $ eucalypt b article list -Y 2014

    Search for blog articles written in 2014.

  • $ eucalypt b article list -Y 2016 -D 07

    Search for blog articles written on the 7th of any month in 2016.

  • $ eucalypt b article list -M 10 -D 31

    Search for blog articles written on Halloween (any year).

  • $ eucalypt b article list -t programming -M 12 -D 25

    Search for blog articles with the programming tag, written on Christmas Day (sad, I know).

PreviousArticleNextGenerate

Last updated 6 years ago