Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/tcloud/api/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Make raw HTTP requests to the Thalassa Cloud API.
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/api/raw/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ tcloud api raw PATH [flags]
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/audit/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Audit commands to manage and export organisation audit logs for compliance
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/audit/export/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ tcloud audit export [flags]
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Manage compute resources in the Thalassa Cloud Platform
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/machine-images/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ thalassa compute machine-images
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/machine-types/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ thalassa compute machine-types
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/machines/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Manage virtual machine instances in the Thalassa Cloud Platform
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/machines_delete/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ tcloud compute machines delete --selector environment=test --force
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/machines_list/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ tcloud compute machines list [flags]
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/machines_start/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ tcloud compute machines start [flags]
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/compute/machines_stop/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ tcloud compute machines stop [flags]
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
7 changes: 5 additions & 2 deletions docs/tcloud/context/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ linkTitle: "tcloud context"
title: "context"
slug: tcloud_context
url: /docs/tcloud/tcloud_context/
weight: 9977
weight: 9975
cascade:
type: docs
---
Expand All @@ -13,7 +13,7 @@ Manage context

### Synopsis

Manage context for the CLI. Contexts are used to manage multiple organisations and APIs.
Manage context for the CLI. Contexts are used to manage multiple organisations, projects, and APIs.

### Options

Expand All @@ -31,6 +31,7 @@ Manage context for the CLI. Contexts are used to manage multiple organisations a
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand All @@ -42,9 +43,11 @@ Manage context for the CLI. Contexts are used to manage multiple organisations a
* [tcloud context delete](/docs/tcloud/context/delete/) - Delete a context
* [tcloud context delete-server](/docs/tcloud/context/delete-server/) - Delete a server
* [tcloud context delete-user](/docs/tcloud/context/delete-user/) - Delete a user
* [tcloud context fix](/docs/tcloud/context/fix/) - Fix config file security issues
* [tcloud context list](/docs/tcloud/context/list/) - List the contexts
* [tcloud context login](/docs/tcloud/context/login/) - Login to Thalassa Cloud
* [tcloud context organisation](/docs/tcloud/context/organisation/) - Set the organisation in the current-context
* [tcloud context project](/docs/tcloud/context/project/) - Set the project in the current context
* [tcloud context use](/docs/tcloud/context/use/) - Set the current context
* [tcloud context view](/docs/tcloud/context/view/) - Shows current context

2 changes: 2 additions & 0 deletions docs/tcloud/context/create/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ tcloud context create [flags]
### Options

```
--browser log in through the browser using OIDC (default when no other credentials are provided)
--create-context creates a context (default true)
-h, --help help for create
--name string name of the context (default "default")
Expand All @@ -33,6 +34,7 @@ tcloud context create [flags]
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/context/current/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ tcloud context current
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/context/delete-server/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ tcloud context delete-server <server>
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/context/delete-user/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ tcloud context delete-user <user>
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
1 change: 1 addition & 0 deletions docs/tcloud/context/delete/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ tcloud context delete <context>
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
51 changes: 51 additions & 0 deletions docs/tcloud/context/fix/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
linkTitle: "tcloud context fix"
title: "context fix"
slug: tcloud_context_fix
url: /docs/tcloud/context/fix/
weight: 9982
cascade:
type: docs
---
## tcloud context fix

Fix config file security issues

### Synopsis

Fix security issues in the CLI config file, such as overly permissive file permissions.

```
tcloud context fix [flags]
```

### Examples

```
tcloud context fix
```

### Options

```
-h, --help help for fix
```

### Options inherited from parent commands

```
--access-token string Access Token authentication (overrides context)
--api string API endpoint (overrides context)
--client-id string OIDC client ID for OIDC authentication (overrides context)
--client-secret string OIDC client secret for OIDC authentication (overrides context)
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

### SEE ALSO

* [tcloud context](/docs/tcloud/tcloud_context/) - Manage context

3 changes: 2 additions & 1 deletion docs/tcloud/context/list/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ linkTitle: "tcloud context list"
title: "context list"
slug: tcloud_context_list
url: /docs/tcloud/context/list/
weight: 9982
weight: 9981
cascade:
type: docs
---
Expand Down Expand Up @@ -43,6 +43,7 @@ tcloud context list
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
6 changes: 4 additions & 2 deletions docs/tcloud/context/login/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ linkTitle: "tcloud context login"
title: "context login"
slug: tcloud_context_login
url: /docs/tcloud/context/login/
weight: 9981
weight: 9980
cascade:
type: docs
---
Expand All @@ -13,7 +13,7 @@ Login to Thalassa Cloud

### Synopsis

Login to Thalassa Cloud using a personal access token, access token, or OIDC client id and secret, using the current context. Overrides the current context if --name is set.
Login to Thalassa Cloud using browser OIDC (default when no credentials are provided), a personal access token, access token, or OIDC client credentials for the current context.

```
tcloud context login [flags]
Expand All @@ -22,6 +22,7 @@ tcloud context login [flags]
### Options

```
--browser log in through the browser using OIDC (default when no other credentials are provided)
-h, --help help for login
--name string name of the context (default "default")
```
Expand All @@ -36,6 +37,7 @@ tcloud context login [flags]
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
3 changes: 2 additions & 1 deletion docs/tcloud/context/organisation/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ linkTitle: "tcloud context organisation"
title: "context organisation"
slug: tcloud_context_organisation
url: /docs/tcloud/context/organisation/
weight: 9980
weight: 9979
cascade:
type: docs
---
Expand Down Expand Up @@ -41,6 +41,7 @@ tcloud context use-organisation <organisation>
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
51 changes: 51 additions & 0 deletions docs/tcloud/context/project/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
linkTitle: "tcloud context project"
title: "context project"
slug: tcloud_context_project
url: /docs/tcloud/context/project/
weight: 9978
cascade:
type: docs
---
## tcloud context project

Set the project in the current context

### Synopsis

Set the project in the current context. Accepts a project identity or slug; the identity is stored in the context. Use "root" to clear the project and scope commands to the organisation root.

```
tcloud context project <project> [flags]
```

### Examples

```
tcloud context project <project>
```

### Options

```
-h, --help help for project
```

### Options inherited from parent commands

```
--access-token string Access Token authentication (overrides context)
--api string API endpoint (overrides context)
--client-id string OIDC client ID for OIDC authentication (overrides context)
--client-secret string OIDC client secret for OIDC authentication (overrides context)
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

### SEE ALSO

* [tcloud context](/docs/tcloud/tcloud_context/) - Manage context

3 changes: 2 additions & 1 deletion docs/tcloud/context/use/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ linkTitle: "tcloud context use"
title: "context use"
slug: tcloud_context_use
url: /docs/tcloud/context/use/
weight: 9979
weight: 9977
cascade:
type: docs
---
Expand Down Expand Up @@ -41,6 +41,7 @@ tcloud context use <context>
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
3 changes: 2 additions & 1 deletion docs/tcloud/context/view/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ linkTitle: "tcloud context view"
title: "context view"
slug: tcloud_context_view
url: /docs/tcloud/context/view/
weight: 9978
weight: 9976
cascade:
type: docs
---
Expand Down Expand Up @@ -41,6 +41,7 @@ tcloud context view
-c, --context string Context name
--debug Debug mode
-O, --organisation string Organisation slug or identity (overrides context)
-P, --project string Project identity (overrides context; slug is resolved to identity; use "root" for organisation scope)
--token string Personal access token (overrides context)
```

Expand Down
Loading
Loading