Installation
Before diving into the CLI, you need to install it. The installation process is straightforward and can be completed by following the guidelines on Merthin’s official help center. Detailed steps include downloading the installer appropriate for your operating system and running it. For complete instructions, refer to Installing the CED CLI.
Initialization and Session Management
Initialization: Initialize your directory as a CED project with
ced init [projectId] [defaultEnvironment] [subsystemId]
.Login and Logout: Authenticate with
ced login
and logout withced logout
.Session and Context Management: View current session with
ced session
and update project context usingced context:update <projectId> <defaultEnvironment> <subsystemId>
.
Version and Deployment Management
Version Handling: Create a new version with
ced version:create
, set metadata usingced version:set-metadata [options] <version> <metadata>
, and manage version validations withced version:set-validations [options] <version> <jsonFile>
.Version Promotion and Rollback: Promote a version with
ced version:promote <sourceVersion> <destSubsystem>
.
Project and Environment Operations
Project Management: List all projects with
ced project:list
, manage project webhooks viaced project:set-webhook <projectId>
, and handle Slack integrations withced project:set-slack-webhook-url <projectId> <url>
.Environment Operations: List environments with
ced env:list [options]
, clone environments withced env:clone [options] <destination>
, and delete environments usingced env:delete [options] <environment>
.
Subsystem Specific Operations
Subsystem Management: List subsystems with
ced subsystem:list [options]
, and sync subsystems across environments usingced subsystem:sync [options] <destinationEnvironment> <subsystemId>
.Subsystem Webhooks: Manage webhooks for a specific subsystem with
ced subsystem:set-webhook <projectId> <environment> <subsystemId>
.
Configuration and Deployment
Configuration and Templates: Generate system configurations with
ced config:generate [options]
and deploy templates usingced template:deploy <template>
.Cross-environment Checks: Ensure environment consistency with
ced cross-environment-check [options]
.
This CLI provides a comprehensive suite of tools for managing deployments, configuring systems, and integrating services, making it an indispensable resource for system administrators and developers. For more detailed guides and tutorials, consider visiting the Merthin Help Center.