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 projects using CLI #11

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

Manage projects using CLI #11

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 projects using CLI. Here are the aspects to manage:

Creating a project

Command

ks project create <workspace_id> <options>

Options

  • --name/-n: Name of the workspace
  • --description/-d: (Optional) Description of the workspace
  • --storePrivateKey: (Optional) Whether to store the private key in the project or not. Defaults to false.
  • --isPublic: (Optional) Whether the project would be accessible by everyone or not. Defaults to false.

Updating a project

Command

ks project update <project_id> <options>

Options

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

  • --name/-n: (Optional) Name of the workspace
  • --description/-d: (Optional) Description of the workspace
  • --storePrivateKey: (Optional) Whether to store the private key in the project or not. Defaults to false.
  • --isPublic: (Optional) Whether the project would be accessible by everyone or not. Defaults to false.

Listing all projects

Command

ks project list <workspace_id> <options>

Options

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

Deleting a project

Command

ks project delete <project_id>

Read a project

Command

ks project read <project_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