Class: Ace::Git::Worktree::CLI::Commands::List

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

Instance Method Summary collapse

Instance Method Details

#call(**options) ⇒ Object



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

def call(**options)
  display_config_summary("list", options) unless options[:format] == "json"

  # Keep explicit false values as --no-* flags so legacy parser receives filters.
  args = list_options_to_args(options)

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