Class: Completely::Commands::Install
- Defined in:
- lib/completely/commands/install.rb
Instance Method Summary collapse
Methods inherited from Base
environment_config_path, environment_debug, option_function, param_config_path
Instance Method Details
#run ⇒ Object
22 23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/completely/commands/install.rb', line 22 def run if args['--dry'] puts installer.install_command_string return end success = installer.install force: args['--force'] raise InstallError, "Failed running command:\nnb`#{installer.install_command_string}`" unless success say "Saved m`#{installer.target_path}`" say 'You may need to restart your session to test it' end |