Skip to content

Commit

Permalink
Un-hide remove-org-cluster command
Browse files Browse the repository at this point in the history
  • Loading branch information
romasku committed Feb 14, 2022
1 parent 6196afe commit dd825aa
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 1 deletion.
22 changes: 22 additions & 0 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* [neuro admin remove-cluster](#neuro-admin-remove-cluster)
* [neuro admin remove-cluster-user](#neuro-admin-remove-cluster-user)
* [neuro admin remove-org](#neuro-admin-remove-org)
* [neuro admin remove-org-cluster](#neuro-admin-remove-org-cluster)
* [neuro admin remove-org-user](#neuro-admin-remove-org-user)
* [neuro admin remove-resource-preset](#neuro-admin-remove-resource-preset)
* [neuro admin set-org-cluster-credits](#neuro-admin-set-org-cluster-credits)
Expand Down Expand Up @@ -458,6 +459,7 @@ Name | Description|
| _[neuro admin remove-cluster](#neuro-admin-remove-cluster)_| Drop a cluster |
| _[neuro admin remove\-cluster-user](#neuro-admin-remove-cluster-user)_| Remove user access from the cluster |
| _[neuro admin remove-org](#neuro-admin-remove-org)_| Drop a org |
| _[neuro admin remove\-org-cluster](#neuro-admin-remove-org-cluster)_| Drop an org cluster |
| _[neuro admin remove\-org-user](#neuro-admin-remove-org-user)_| Remove user access from the org |
| _[neuro admin remove\-resource-preset](#neuro-admin-remove-resource-preset)_| Remove resource preset |
| _[neuro admin set\-org-cluster-credits](#neuro-admin-set-org-cluster-credits)_| Set org cluster credits to given value |
Expand Down Expand Up @@ -861,6 +863,26 @@ Name | Description|



### neuro admin remove-org-cluster

Drop an org cluster<br/><br/>Completely removes org from the cluster.

**Usage:**

```bash
neuro admin remove-org-cluster [OPTIONS] CLUSTER_NAME ORG_NAME
```

**Options:**

Name | Description|
|----|------------|
|_--help_|Show this message and exit.|
|_--force_|Skip prompt|




### neuro admin remove-org-user

Remove user access from the org.
Expand Down
25 changes: 25 additions & 0 deletions neuro-cli/docs/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Cluster administration commands.
| [_remove-cluster_](admin.md#remove-cluster) | Drop a cluster |
| [_remove-cluster-user_](admin.md#remove-cluster-user) | Remove user access from the cluster |
| [_remove-org_](admin.md#remove-org) | Drop a org |
| [_remove-org-cluster_](admin.md#remove-org-cluster) | Drop an org cluster |
| [_remove-org-user_](admin.md#remove-org-user) | Remove user access from the org |
| [_remove-resource-preset_](admin.md#remove-resource-preset) | Remove resource preset |
| [_set-org-cluster-credits_](admin.md#set-org-cluster-credits) | Set org cluster credits to given value |
Expand Down Expand Up @@ -485,6 +486,30 @@ Completely removes org from the system.



### remove-org-cluster

Drop an org cluster


#### Usage

```bash
neuro admin remove-org-cluster [OPTIONS] CLUSTER_NAME ORG_NAME
```

Drop an org cluster

Completely removes org from the cluster.

#### Options

| Name | Description |
| :--- | :--- |
| _--help_ | Show this message and exit. |
| _--force_ | Skip prompt |



### remove-org-user

Remove user access from the org
Expand Down
2 changes: 1 addition & 1 deletion neuro-cli/src/neuro_cli/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ async def update_org_cluster(
root.print(fmt(org_cluster, skip_cluster_org=True))


@command(hidden=True)
@command()
@option("--force", default=False, help="Skip prompt", is_flag=True)
@argument("cluster_name", required=True, type=str)
@argument("org_name", required=True, type=str)
Expand Down

0 comments on commit dd825aa

Please sign in to comment.