CLI Commands
The following are the available CLI tool commands:
Cartridges
This CLIÂ command lists the available Cartridges.
stratos> cartridges
Output
Â
Policies
This CLIÂ command lists the available policies.
stratos> policies
Output
Subscribe
This CLIÂ command is used to subscribe to a Cartridge. One of the following commands can be used:
stratos> subscribe [Cartridge type] [Cartridge alias] -c <data cartridge type> -d <alias> -i <privateRepo> -o <policy name> -p <password> -r <url> -u <username>
stratos> subscribe [Cartridge type] [Cartridge alias] --connect <data cartridge type> --data-alias <alias> --privateRepo <privateRepo> --policy <policy name> --password <password> --repoURL <url> --username <username>
The explanation of each of the arguments are described in the subscribe help output below:
Unsubscribe
This CLIÂ command is used to unsubscribe from a Cartridge.
stratos> unsubscribe [Cartridge alias] -f
Â
Sync
This CLIÂ command is used to synchronize the GIT repository for subscribed Cartridges.
stratos> sync [Cartridge alias]
Domain mapping
Add domain mapping
This CLIÂ command is used to map the domain to a subscribed Cartridge.
stratos> add-domain-mapping [Cartridge alias] [Domain]
Remove domain mapping
This CLI command is used to remove the domain mapping for a subscribed Cartridge.
stratos> remove-domain-mapping [Cartridge alias]
List
This CLI command is used to get a list of the subscribed Cartridges together with their details.
stratos> list
Output
Info
This CLI command is used to get information on a subscribed Cartridge.
stratos> info
Â
Help
This CLI command is used to get help on the available commands.
stratos> help
Â
This CLI command is used to get in-depth details on a specific command.
stratos> help [command]
 Example:
stratos> help subscribe
Exit
This CLI command is used to exit from the CLI Tool.
stratos> exit
Â