bin/smartcloud in smartcloud-0.0.198 vs bin/smartcloud in smartcloud-0.0.199

- old
+ new

@@ -7,10 +7,28 @@ elsif !Smartcloud::Boot.initialized? puts "Smartcloud has not been initialized. Please run command 'smartcloud init'." exit end +# if ARGV[0] == 'new' +# machine = Smartcloud::Machine.new +# raise "Please specify machine name" unless ARGV[1] +# machine.create(ARGV[1]) +# elsif ARGV[0] == 'install' +# machine = Smartcloud::Machine.new +# machine.install_docker +# machine.install_engine +# elsif ARGV[0] == 'uninstall' +# machine = Smartcloud::Machine.new +# machine.uninstall_engine +# machine.uninstall_docker +# elsif ARGV[0] == 'run' +# machine = Smartcloud::Machine.new +# ARGV.shift +# raise "Please specify command to run" unless ARGV[0] +# machine.run(ARGV) + if ARGV[0] == 'docker' if ARGV[1] == 'install' Smartcloud::Docker.install elsif ARGV[1] == 'uninstall' Smartcloud::Docker.uninstall @@ -49,6 +67,7 @@ # if ARGV[1] == 'create' # Smartcloud::User.create(ARGV[2], ARGV[3], ARGV[4]) # elsif ARGV[1] == 'destroy' # Smartcloud::User.destroy(ARGV[2], ARGV[3]) # end -end +end +puts "Specify a command to execute." \ No newline at end of file