lib/negroku/cli.rb in negroku-0.0.3 vs lib/negroku/cli.rb in negroku-0.0.4
- old
+ new
@@ -102,24 +102,17 @@
end
init(".", data)
- puts "[Negroku] => Running capistrano task deploy:setup"
- `cap deploy:setup`
-
say "\n\nWhat to do next?\n".bright()
+ say "Setup your app running " + "cap deploy:setup".color(:yellow)
say "You can try with " + "cap -T".color(:yellow) +" to see the available tasks"
say "Also you can check the " + "config/deploy.rb".color(:yellow) + " file, you may want to change some things there"
- say "NOTE: If this is the first time the app is deployed, use the task " + "cap deploy:cold task".color(:yellow)
+ say "NOTE: If this is the first time the app is deployed, use the task " + "cap deploy:cold".color(:yellow)
say "\n HAPPY DEPLOY".foreground(:green)
end
-
- desc "deploy", "Deploy the application"
- def deploy
- put "I will deploy"
- end
end
class Target < Thor
desc "add", "add new default target server"
def add(host=nil)
@@ -197,6 +190,6 @@
register(App, 'app', 'app [COMMAND]', 'Application')
register(Target, 'target', 'target [COMMAND]', 'Target servers')
register(Konfig, 'config', 'config [COMMAND]', 'Configuration')
register(RemoteEnv, 'env', 'env [COMMAND]', 'Remote environmental variables')
end
-end
\ No newline at end of file
+end