Sha256: 374a3df70e662e41828f3c7f380c6e2929f20a5694bdb3ef4d4027bf711f9bd6

Contents?: true

Size: 572 Bytes

Versions: 10

Compression:

Stored size: 572 Bytes

Contents

module SmartMachine
  module Commands
    class Engine < Thor
      include Utilities

      desc "install", "Install engine"
      def install
        inside_machine_dir do
          with_docker_running do
            engine = SmartMachine::Engine.new
            engine.install
          end
        end
      end

      desc "uninstall", "Uninstall engine"
      def uninstall
        inside_machine_dir do
          with_docker_running do
            engine = SmartMachine::Engine.new
            engine.uninstall
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
smartmachine-1.3.0 lib/smart_machine/commands/engine.rb
smartmachine-1.2.3 lib/smart_machine/commands/engine.rb
smartmachine-1.2.1 lib/smart_machine/commands/engine.rb
smartmachine-1.2.0 lib/smart_machine/commands/engine.rb
smartmachine-1.2.0.dev lib/smart_machine/commands/engine.rb
smartmachine-1.1.1 lib/smart_machine/commands/engine.rb
smartmachine-1.1.0 lib/smart_machine/commands/engine.rb
smartmachine-1.0.1 lib/smart_machine/commands/engine.rb
smartmachine-1.0.0 lib/smart_machine/commands/engine.rb
smartmachine-0.9.0 lib/smart_machine/commands/engine.rb