Class: Ace::Git::Worktree::CLI::Commands::Remove

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

Instance Method Summary collapse

Instance Method Details

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



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

def call(identifier: nil, **options)
  display_config_summary("remove", options)

  # Convert ace-support-cli options to args array format
  args = options_to_args(options)
  args << identifier if identifier

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