CLI Examples
Connecting as a user to RosettaHUB
rh login -u usernameYou will be prompted to enter your password
Your connection will be displayed in a tabe along with other previous connections. You create as many connections as you wish. You can have only one connection per user.
To set the default connection
rh set-default usernameTo view all connections
rh lsTo set the output format: format can be table, json, yaml or csv
rh set-output formatTo view information about the default user and all the users that are managed by that user
rh user lsTo masquerade as a user that you manage, you can only masquerade if you have Superuser rights on that user
rh user masquerade usernameTo view information about the default user's cloud accounts and all the cloud accounts that are managed by that user
rh acc lsTo connect to one or many cloud accounts in the browser
rh acc browse -c cloudAccountUid1 -c cloudAccountUid2To view all formations that can be launched by the default user including owned, shared and public formations
rh formation ls -aTo launch a formation with id formationUid
rh formation launch -g --label my-server formationUidTo view all sessions including owned, shared and public session
rh session ls -a