mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
feat(cli): manage workspace scripts (#1992)
* feat(cli): manage workspace scripts * docs: document workspace script management --------- Co-authored-by: Mohamed Boudra <boudra.moha@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: CLI
|
||||
description: "Paseo CLI reference: manage agents, workspaces, schedules, daemons, and permissions from your terminal."
|
||||
description: "Paseo CLI reference: manage agents, workspaces, scripts, schedules, daemons, and permissions from your terminal."
|
||||
nav: CLI
|
||||
order: 3
|
||||
category: Getting started
|
||||
@@ -86,6 +86,20 @@ paseo workspace archive <workspace-id>
|
||||
|
||||
Add `--forge <name>` to PR checkout when Paseo cannot infer the forge from the source checkout. See [Git worktrees](/docs/worktrees) for setup hooks and services.
|
||||
|
||||
## Workspace scripts
|
||||
|
||||
List, start, and stop the scripts configured in a workspace's `paseo.json`:
|
||||
|
||||
```bash
|
||||
paseo script ls
|
||||
paseo script start web
|
||||
paseo script stop web
|
||||
```
|
||||
|
||||
By default, Paseo selects the workspace whose directory is the current directory. Pass `--cwd <path>` to select a different directory, or `--workspace <workspace-id>` when a directory has multiple workspaces. These commands also accept `--host` and the standard output options such as `--json`.
|
||||
|
||||
The output includes each script's lifecycle and supervised terminal ID. Services also include their assigned port, proxy URL, and health. See [Git worktrees](/docs/worktrees#scripts-and-services) for `paseo.json` configuration.
|
||||
|
||||
## Listing agents
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user