Class: Ace::Git::Worktree::CLI::Commands::Switch
- Inherits:
-
Support::Cli::Command
- Object
- Support::Cli::Command
- Ace::Git::Worktree::CLI::Commands::Switch
- Includes:
- SharedHelpers
- Defined in:
- lib/ace/git/worktree/cli/commands/switch.rb
Instance Method Summary collapse
Instance Method Details
#call(identifier: nil, **options) ⇒ Object
30 31 32 33 34 35 36 37 38 |
# File 'lib/ace/git/worktree/cli/commands/switch.rb', line 30 def call(identifier: nil, **) display_config_summary("switch", ) # Convert ace-support-cli options to args array format args = () args << identifier if identifier Ace::Git::Worktree::Commands::SwitchCommand.new.run(args) end |