Module: Ace::Retro::RetroCLI

Extended by:
Support::Cli::RegistryDsl
Defined in:
lib/ace/retro/cli.rb

Overview

Flat CLI registry for ace-retro (retrospective management).

Provides the flat ‘ace-retro <command>` invocation pattern.

Constant Summary collapse

PROGRAM_NAME =
"ace-retro"
REGISTERED_COMMANDS =
[
  ["create", "Create a new retro"],
  ["show", "Show retro details"],
  ["list", "List retros"],
  ["update", "Update retro metadata (fields and move)"],
  ["doctor", "Run health checks on retros"]
].freeze
HELP_EXAMPLES =
[
  'ace-retro create "Sprint Review" --type standard --tags sprint,team',
  "ace-retro show q7w",
  "ace-retro list --in archive --status active",
  "ace-retro update q7w --set status=done --move-to archive",
  "ace-retro update q7w --set status=done --add tags=reviewed",
  "ace-retro update q7w --move-to next",
  "ace-retro doctor --verbose"
].freeze

Class Method Summary collapse

Class Method Details

.start(args) ⇒ Object

Entry point for CLI invocation

Parameters:

  • args (Array<String>)

    Command-line arguments



65
66
67
# File 'lib/ace/retro/cli.rb', line 65

def self.start(args)
  Ace::Support::Cli::Runner.new(self).call(args: args)
end