Class: Ace::Git::Worktree::CLI::Commands::Config

Inherits:
Support::Cli::Command
  • Object
show all
Includes:
SharedHelpers
Defined in:
lib/ace/git/worktree/cli/commands/config.rb

Instance Method Summary collapse

Instance Method Details

#call(subcommand: nil, **options) ⇒ Object



35
36
37
38
39
40
41
42
43
44
# File 'lib/ace/git/worktree/cli/commands/config.rb', line 35

def call(subcommand: nil, **options)
  display_config_summary("config", options)

  # Convert ace-support-cli options to args array format
  args = options_to_args(options)
  # Add subcommand as positional argument if provided
  args << subcommand if subcommand

  Ace::Git::Worktree::Commands::ConfigCommand.new.run(args)
end