Class: Omnizip::ProfileCommands
- Inherits:
-
Thor
- Object
- Thor
- Omnizip::ProfileCommands
- Includes:
- Shared
- Defined in:
- lib/omnizip/cli.rb
Overview
Profile commands subcommand group
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Shared
Class Method Details
.exit_on_failure? ⇒ Boolean
56 57 58 |
# File 'lib/omnizip/cli.rb', line 56 def exit_on_failure? true end |
Instance Method Details
#list ⇒ Object
74 75 76 77 78 |
# File 'lib/omnizip/cli.rb', line 74 def list Omnizip::Commands::ProfileListCommand.new().run rescue StandardError => e handle_error(e) end |
#show(profile_name) ⇒ Object
92 93 94 95 96 |
# File 'lib/omnizip/cli.rb', line 92 def show(profile_name) Omnizip::Commands::ProfileShowCommand.new().run(profile_name) rescue StandardError => e handle_error(e) end |