Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage environments using CLI #12

Open
rajdip-b opened this issue Mar 26, 2024 · 0 comments
Open

Manage environments using CLI #12

rajdip-b opened this issue Mar 26, 2024 · 0 comments
Labels
priority:urgent Priority description - Urgent type:feat Added some new feature

Comments

@rajdip-b
Copy link
Member

Description

Create and manage environments using CLI. Here are the aspects to manage:

Creating an environment

Command

ks environment create <project_id> <options>

Options

  • --name/-n: Name of the environment
  • --description/-d: (Optional) Description of the environment
  • --isDefault: (Optional) If this is the default environment of the project

Updating an environment

Command

ks environment update <environment_id> <options>

Options

Specifying any of these options will update only that specific property of the environment. At least one option needs to be specified for this command to run.

  • --name/-n: (Optional) Name of the environment
  • --description/-d: (Optional) Description of the environment
  • --isDefault: (Optional) If this is the default environment of the project

Listing all environments

Command

ks environment list <project_id> <options>

Options

  • --page: (Optional) The page index
  • --size: (Optional) Size of the page

Deleting an environment

Command

ks environment delete <environment_id>

Read an environment

Command

ks environment read <environment_id>
@rajdip-b rajdip-b added priority:urgent Priority description - Urgent type:feat Added some new feature labels Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:urgent Priority description - Urgent type:feat Added some new feature
Projects
None yet
Development

No branches or pull requests

1 participant