Class: Ace::Git::Worktree::CLI::Commands::Bootstrap

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

Instance Method Summary collapse

Instance Method Details

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



29
30
31
32
33
34
35
36
37
# File 'lib/ace/git/worktree/cli/commands/bootstrap.rb', line 29

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

  args = []
  args << identifier if identifier
  args << "--json" if options[:json]

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