Module: Ace::Idea::IdeaCLI

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

Overview

Flat CLI registry for ace-idea (idea management).

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

Constant Summary collapse

PROGRAM_NAME =
"ace-idea"
REGISTERED_COMMANDS =
[
  ["create", "Create a new idea"],
  ["show", "Show idea details"],
  ["list", "List ideas"],
  ["update", "Update idea metadata (fields and move)"],
  ["doctor", "Run health checks on ideas"],
  ["status", "Show idea status overview"]
].freeze
HELP_EXAMPLES =
[
  'ace-idea create "Dark mode" --tags ux,design --move-to next',
  "ace-idea show q7w",
  "ace-idea list --in maybe --status pending",
  "ace-idea update q7w --set status=done --move-to archive",
  "ace-idea update q7w --set status=done --add tags=shipped",
  "ace-idea update q7w --move-to next",
  "ace-idea doctor --auto-fix",
  "ace-idea status",
  "ace-idea status --up-next-limit 5"
].freeze

Class Method Summary collapse

Class Method Details

.start(args) ⇒ Object

Entry point for CLI invocation

Parameters:

  • args (Array<String>)

    Command-line arguments



70
71
72
# File 'lib/ace/idea/cli.rb', line 70

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