CLI Examples

  1. Connecting as a user to RosettaHUB

    rh login -u username

    You 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.

  2. To set the default connection

    rh set-default username

     

  3. To view all connections

    rh ls

     

  4. To set the output format: format can be table, json, yaml or csv

     

  5. To view information about the default user and all the users that are managed by that user

     

  6. To masquerade as a user that you manage, you can only masquerade if you have Superuser rights on that user

     

  7. To view information about the default user's cloud accounts and all the cloud accounts that are managed by that user

     

  8. To connect to one or many cloud accounts in the browser

     

  9. To view all formations that can be launched by the default user including owned, shared and public formations

     

  10. To launch a formation with id formationUid

     

  11. To view all sessions including owned, shared and public session

    Â