Module: Ace::Support::Nav::CLI

Extended by:
Cli::RegistryDsl
Defined in:
lib/ace/support/nav/cli.rb,
lib/ace/support/nav/cli/commands/list.rb,
lib/ace/support/nav/cli/commands/create.rb,
lib/ace/support/nav/cli/commands/resolve.rb,
lib/ace/support/nav/cli/commands/sources.rb

Overview

ace-support-cli based CLI registry for ace-nav

Defined Under Namespace

Modules: Commands

Constant Summary collapse

PROGRAM_NAME =
"ace-nav"
REGISTERED_COMMANDS =
[
  ["resolve", "Resolve resource path or content"],
  ["list", "List matching resources"],
  ["create", "Create resource from template"],
  ["sources", "Show available sources"]
].freeze
HELP_EXAMPLES =
[
  "ace-nav resolve wfi://task/work       # Get workflow file path",
  "ace-nav list 'wfi://*'               # Browse all workflows",
  "ace-nav sources                       # Show registered sources"
].freeze