Class: Kitsune::Kit::Commands::BootstrapDocker
- Inherits:
-
Thor
- Object
- Thor
- Kitsune::Kit::Commands::BootstrapDocker
- Defined in:
- lib/kitsune/kit/commands/bootstrap_docker.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/kitsune/kit/commands/bootstrap_docker.rb', line 18 def execute = Kitsune::Kit::OptionsBuilder.build( , required: [:server_ip], defaults: Kitsune::Kit::Defaults.ssh ) if [:rollback] say "🔄 Rolling back full Docker setup...", :yellow rollback_sequence() else say "🐳 Running full Docker setup...", :green setup_sequence() end say "🎉 Done!", :green end |