bin/dokku in dokku-installer-cli-0.0.3 vs bin/dokku in dokku-installer-cli-0.0.4
- old
+ new
@@ -23,15 +23,10 @@
desc "config:unset KEY1 [KEY2 ...]", "Unset one or more environment variables"
def config_unset(*args)
run_command "config:unset #{app_name} #{args.join(' ')}"
end
- # desc "create", "Create an app"
- # def create(*args)
- # run_command "create #{args.first}"
- # end
-
desc "domains", "Display the app's domains"
def domains(*args)
run_command "domains #{app_name}"
end
@@ -41,9 +36,14 @@
end
desc "logs [-t]", "Show the last logs for the application (-t follows)"
def logs(*args)
run_command "logs #{app_name} #{args.join(' ')}"
+ end
+
+ desc "restart", "Restart the application"
+ def restart(*args)
+ run_command "restart #{app_name}"
end
desc "run <cmd>", "Run a command in the environment of an application"
def walk(*args)
run_command "run #{app_name} #{args.join(' ')}"