Class: Canals::Cli::Setup
- Includes:
- Thor::Actions
- Defined in:
- lib/canals/cli/setup.rb
Instance Method Summary collapse
Instance Method Details
#bind_address(bind) ⇒ Object
25 26 27 28 |
# File 'lib/canals/cli/setup.rb', line 25 def bind_address(bind) Canals.config[:bind_address] = bind Canals.config.save! end |
#completion ⇒ Object
20 21 22 |
# File 'lib/canals/cli/setup.rb', line 20 def completion install_completion end |
#wizard ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/canals/cli/setup.rb', line 11 def wizard say "Welcome to the Canals Setup Wizard!", :green setup_first_environment setup_first_tunnel check_install_completion say "Setup complete. Thanks! :)", :green end |