# Commands (/docs/cli/commands)



## Task Commands [#task-commands]

| Command                       | Description                             |
| ----------------------------- | --------------------------------------- |
| `seasnoke task submit <file>` | Submit a new task from a markdown file. |
| `seasnoke task list`          | List all tasks in the workspace.        |
| `seasnoke task get <id>`      | Get details of a specific task.         |
| `seasnoke task cancel <id>`   | Cancel a running task.                  |

## Run Commands [#run-commands]

| Command                   | Description                    |
| ------------------------- | ------------------------------ |
| `seasnoke runs list`      | List all agent runs.           |
| `seasnoke runs get <id>`  | Get run details and status.    |
| `seasnoke runs logs <id>` | Stream logs from a run.        |
| `seasnoke runs diff <id>` | View the diff output of a run. |

## Workspace Commands [#workspace-commands]

| Command                          | Description                      |
| -------------------------------- | -------------------------------- |
| `seasnoke workspace info`        | Show current workspace details.  |
| `seasnoke workspace switch <id>` | Switch to a different workspace. |
