Class: Kitsune::Kit::Commands::Bootstrap
- Inherits:
-
Thor
- Object
- Thor
- Kitsune::Kit::Commands::Bootstrap
- Defined in:
- lib/kitsune/kit/commands/bootstrap.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/kitsune/kit/commands/bootstrap.rb', line 19 def execute = Kitsune::Kit::OptionsBuilder.build( , defaults: Kitsune::Kit::Defaults.ssh ) if [:rollback] say "🔄 Rolling back server configurations...", :yellow rollback_sequence() else say "🏗️ Setting up server from scratch...", :green setup_sequence() end say "🎉 Done!", :green end |