The CLI cloud command
The Sitecore XM Cloud plugin provides the cloud command. The command has subcommands that help you manage SitecoreAIprojects, environments, and deployments from the Sitecore CLI.
Usage
You can use the cloud command as follows:
dotnet sitecore cloud [options]
To use one of the cloud subcommands:
dotnet sitecore cloud [subcommand] [options]Subcommands have subcommands (operations) and options of their own. For detailed usage information, refer to the documentation of each cloud subcommand.
Options
The cloud command has the following option:
|
Option |
Description |
|---|---|
|
|
When provided, the CLI displays developer help and usage information about the command. |
Subcommands
You can use the following cloud subcommands:
-
deployment- provides subcommands for managing and interacting with deployments for a given environment. -
editinghost- provides subcommands for managing and interacting with editing hosts for a given environment. -
environment- provides subcommands for managing and interacting with environments for a given project. -
login- authenticates a person through the CLI with an organization, granting them access tokens and claims based on authorization. -
logout- logs you out of an environment. -
organization- provides subcommand for managing your organizations. -
project- provides subcommands for managing and interacting with projects for a given organization.