Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 9fecdad

Browse files
authored
usage/workspaces: add instructions to delete multiple (#61)
Signed-off-by: Fionn Kelleher <[email protected]>
1 parent 3242e29 commit 9fecdad

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

src/content/docs/usage/workspaces.mdx

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ You can configure your preferred IDE.
7878
Refer to __[Set the Default IDE](#set-the-default-ide)__ for more information.
7979
:::
8080

81-
## Delete a Workspace
82-
You can delete an existing Workspace.
81+
## Delete Workspaces
82+
You can delete one or more Workspaces interactively.
8383

8484
__Prerequisites__
8585
* A working installation of Daytona.
@@ -88,11 +88,30 @@ __Prerequisites__
8888
__Procedure__
8989
1. Run the following command:
9090
```shell
91-
$ daytona delete
91+
daytona delete
9292
```
93-
2. Select the desired Workspace for deletion in the list and hit `Enter`.
93+
2. Mark Workspaces for deletion by highlighting them and pressing `x`.
94+
<Aside type="note">
95+
Pressing `Enter` without using `x` to select individual Workspaces will select the currently highlighted Workspace for deletion.
96+
</Aside>
97+
3. Press `Enter`.
9498
3. Confirm the action.
9599

100+
### Non-Interactively
101+
You can delete one or more existing Workspaces non-interactively.
102+
103+
__Prerequisites__
104+
* A working installation of Daytona.
105+
* At least one existing Workspace.
106+
107+
__Procedure__
108+
1. Run the following command, specifying the workspace names/UUIDs to delete:
109+
110+
```shell
111+
daytona delete WORKSPACE_1 WORKSPACE_2
112+
```
113+
2. Confirm the action.
114+
96115
## IDEs
97116
Daytona allows you to connect to your Workspace using your preferred IDE.
98117
Out of the box, Daytona can be configured to open your Workspace in the following IDEs:

0 commit comments

Comments
 (0)