ModeraCloud shell simplify usage of remote deployments, and as well may be used locally to shorten commands, if you mostly work with one application.
Shell saves you time in following:
$ mcloud shell
Shell will not react to Ctrl+C command. Instead you should type “exit” or hit Ctrl+D.
use command allow to omit application name, when executing some commands:
mcloud> use myapp mcloud> status mcloud> start mcloud> stop
Anything that starts with ”!” is executed as system command:
mcloud> !ls ... list files ...
If you need to execute set of commands, you can run bash:
To exit, just hit Ctrl+D, and you are back in ModeraCloud shell. If you messed up, see http://www.imdb.com/title/tt1375666/ for reference.
If you need to execute commands on remote machine, isue use command with host:
mcloud> use @myserver.com
You can combine use remote server with application name:
mcloud> use email@example.com
To switch back to local server:
mcloud> use @