The CLI cloud command
The Sitecore XM Cloud plugin provides the cloud
command. The command has subcommands that help you manage XM Cloud projects, 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:
-
login
- authenticates a person through the CLI with an XM Cloud organization, granting them access tokens and claims based on authorization. -
logout
- logs you out of an XM Cloud environment. -
organization
- provides subcommand for managing your organizations. -
project
- provides subcommands for managing and interacting with XM Cloud projects for a given XM Cloud organization. -
environment
- provides subcommands for managing and interacting with XM Cloud environments for a given project. -
deployment
- provides subcommands for managing and interacting with XM Cloud deployments for a given environment.