Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Replacing text 4.1.0 with 4.1.x

Stratos comes with a Command Line Interface (CLI) tool that provides you an interface to manage your applications in Stratos. You can run each command to carryout a range of actions in Stratos. To learn about all the available CLI commands, see the CLI Guide.

The CLI tool can be operated in two modes:

  • Interactive mode
    This CLI mode allows a human to execute commands against the Stratos Manager. For more information, see Interactive mode
     
  • Single command line mode
    This CLI mode allows a computer to execute a command script. For more information, see Single command line mode.
Note

You need to configure the CLI tool and log into the Stratos Manager via the CLI to be able to use the CLI tool.

...

  • Log in
    To log in by entering the following command. (In the interactive mode if you do not enter the username and password, the CLI tool will prompt you for it.)

    ./stratos.sh

    For example:

    Code Block
    James:bin jameswest$ ./stratos.sh
    Username: admin
    Password: *****
    Successfully authenticated

     

    For example:

     

    Username: admin
    Password: admin

     If you have provided any wrong login parameters, the login help will appear.
     

  • Help
    To get help, enter the following command:
    stratos> help
    The CLI usage appears:
    Excerpt Include
    4.1.0 x Getting Help in Using CLI
    4.1.0 x Getting Help in Using CLI
    nopaneltrue
     
     

...

Code Block
James:bin jameswest$ ./stratos.sh -u admin -p admin list-cartridges
Cartridges found:
+------+----------+------+---------------+---------+--------------+
| Type | Category | Name | Description   | Version | Multi-Tenant |
+------+----------+------+---------------+---------+--------------+
| php  | data     | php  | php Cartridge | 7       | false        |
+------+----------+------+---------------+---------+--------------+

...