V0 (deprecated)
Syncing environments
Share environments between Momentic Cloud and locally using the CLI
Pushing environments
Step 1: Get an API key:
You will need an API key to authenticate against Momentic’s servers.
Step 2: Push environments to Momentic Cloud:
Make sure this is in the same directory as your ./momentic
directory.
Arguments
Argument | Description | Default |
---|---|---|
envs | One or more environment names to push. |
Options
Option | Description | Default |
---|---|---|
-a, --all | Select all environments in your organization from Momentic Cloud. Cannot be used together with <paths> arguments. |
Pulling environments
Step 1: Get an API key:
You will need an API key to authenticate against Momentic’s servers.
Step 2: Pull environments from Momentic Cloud:
Make sure this is in the same directory as your ./momentic
directory.
Arguments
Argument | Description | Default |
---|---|---|
envs | One or more environment names to pull. |
Options
Option | Description | Default |
---|---|---|
-a, --all | Select all environments in your organization from Momentic Cloud. Cannot be used together with <paths> arguments. |
Was this page helpful?