1.0.11 • Published 5 years ago
@merthin/ced-cli v1.0.11
CloudEdgeDistribution CLI
The CED CLI pushes artifacts into an CED project. It serves the purpose of integrating CED to existing CI/CD workflows.
Run ced -h for help screen.
Authentication
You have to login before running any authorized operation. Use the following command for interactive login.
ced loginUse the following command to discard current login.
ced logoutContext
Use the following command to specify a project's environment as current context. Commands like push or create-version require a context.
ced context <project-name> <environment> Example:
ced context Demo productionPush artifact
Use the following command to push an artifact as a new version.
ced push <artifact-path> Example:
ced push ./bin/deploymentNon-interactive environments
Use this command to get a token.
ced login --ciAll commands can run with a token in non-interactive environments.
Example:
ced push ./app.zip -p Demo -e dev -t <token>