Update website/docs/cli. (#171)

* Initial renaming, rewriting and cleaning up wave for the CLI docs.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* More renaming.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* More renaming.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* More renaming.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Remove tutorial references.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Post-review fixes.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

---------

Signed-off-by: Jakub Martin <kubam@spacelift.io>
This commit is contained in:
Kuba Martin
2023-08-25 11:09:18 +02:00
committed by GitHub
parent 697267ae11
commit 4d665a0091
70 changed files with 1090 additions and 1560 deletions

View File

@@ -1,15 +1,15 @@
---
page_title: 'Command: workspace list'
description: The terraform workspace list command is used to list all existing workspaces.
description: The opentf workspace list command is used to list all existing workspaces.
---
# Command: workspace list
The `terraform workspace list` command is used to list all existing workspaces.
The `opentf workspace list` command is used to list all existing workspaces.
## Usage
Usage: `terraform workspace list [DIR]`
Usage: `opentf workspace list [DIR]`
The command will list all existing workspaces. The current workspace is
indicated using an asterisk (`*`) marker.
@@ -17,7 +17,7 @@ indicated using an asterisk (`*`) marker.
## Example
```
$ terraform workspace list
$ opentf workspace list
default
* development
jsmith-test