Module: Ace::Bundle::CLI

Defined in:
lib/ace/bundle/cli.rb,
lib/ace/bundle/cli/commands/load.rb

Overview

CLI namespace for ace-bundle command loading.

ace-bundle uses a single-command ace-support-cli entrypoint that calls CLI::Commands::Load directly from the executable.

Defined Under Namespace

Modules: Commands

Class Method Summary collapse

Class Method Details

.start(args) ⇒ Object

Entry point for CLI invocation (used by tests via cli_helpers)

Mirrors exe behavior: empty args show help.

Parameters:

  • args (Array<String>)

    Command-line arguments



20
21
22
23
# File 'lib/ace/bundle/cli.rb', line 20

def self.start(args)
  args = ["--help"] if args.empty?
  Ace::Support::Cli::Runner.new(Commands::Load).call(args: args)
end