Class: Omnizip::ProfileCommands
- Inherits:
-
Thor
- Object
- Thor
- Omnizip::ProfileCommands
- Includes:
- Cli::Shared
- Defined in:
- lib/omnizip/cli.rb
Overview
Profile commands subcommand group
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Cli::Shared
Class Method Details
.exit_on_failure? ⇒ Boolean
27 28 29 |
# File 'lib/omnizip/cli.rb', line 27 def exit_on_failure? true end |
Instance Method Details
#list ⇒ Object
45 46 47 48 49 |
# File 'lib/omnizip/cli.rb', line 45 def list Omnizip::Commands::ProfileListCommand.new().run rescue StandardError => e handle_error(e) end |
#show(profile_name) ⇒ Object
63 64 65 66 67 |
# File 'lib/omnizip/cli.rb', line 63 def show(profile_name) Omnizip::Commands::ProfileShowCommand.new().run(profile_name) rescue StandardError => e handle_error(e) end |