class

Hwaro::CLI::Commands::Tool::ListCommand

Inherits Reference / Object

Constants

DESCRIPTION = "List content files (all, drafts, published)"
FLAGS = [CONTENT_DIR_FLAG, JSON_FLAG, HELP_FLAG]

Flags defined here are used both for OptionParser and completion generation

NAME = "list"

Single source of truth for command metadata

POSITIONAL_ARGS = ["filter"]
POSITIONAL_CHOICES = ["all", "drafts", "published"]

Class methods

metadata
Source

Instance methods

run(args : Array(String))
Source