stackato [options] command [arguments] [command-options]
Try stackato help, stackato help [command], and stackato options for more information.
Many of the informational commands take a --json option if you wish to generate machine-parseable output. In some cases the --json option reveals additional details.
Administrative user privileges are required where "(admin)" is noted.
Log into the current target.
If --token-file is used, the authentication token is saved in the specified token file. Subsequent stackato commands will make use of the specified authentication and token file.
If --group is used, client will persistently set the current group. (All the applicaton and services commands use the option for current group also, but only for that one operation, i.e. transient).
The admin user has the ability to switch to any other user without password when using the login command.
Display logs for application instances. Takes the following options:
--follow : Tail the stream of log entries.
--num N : Show the last N log entries. Default: 100. 0 shows the whole log.
--source S : Show only log entries coming from source S (glob pattern).
--instance N : Show only log entries coming from instance N.
--filename F : Show only log entries coming from file F (glob pattern).
--text T : Show only log entries matching the glob pattern T.
ssh [--instance instance] [appname] [command]
Allows ssh access to an app in an interactive shell:$ stackato ssh myapp
If a command is added, it is run and the connection exited:$ stackato ssh myapp ls -l
By default, the first instance (0) is targeted. Specify other instances with the --instance option:$ stackato ssh myapp --instance 1 ls -l
host add [--dry-run] [<ip-address> <host>]
host update [--dry-run] [<ip-address> <host>]
host remove [--dry-run] [<ip-address>|<host>]
Manipulate the hosts file on the Stackato client system. Add mappings, replace, remove, and show them.
Unlike most stackato command options, this one operates on the client system, not the target system.