39 lines
3.4 KiB
Markdown
39 lines
3.4 KiB
Markdown
# Workspaces
|
|
|
|
``` bash
|
|
|
|
Usage: workspaces.py [OPTIONS] COMMAND [ARGS]...
|
|
|
|
Workspace management tool
|
|
|
|
╭─ Options ────────────────────────────────────────────────────────────────────╮
|
|
│ --workspaces-name -W TEXT Logical name for this workspace set │
|
|
│ (e.g. 'git', 'work', 'personal'). │
|
|
│ Overrides WORKSPACES_NAME env. Defaults │
|
|
│ to 'git'. │
|
|
│ --install-completion Install completion for the current │
|
|
│ shell. │
|
|
│ --show-completion Show completion for the current shell, │
|
|
│ to copy it or customize the │
|
|
│ installation. │
|
|
│ --help Show this message and exit. │
|
|
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
╭─ Commands ───────────────────────────────────────────────────────────────────╮
|
|
│ list List all workspaces. │
|
|
│ create Create a new workspace. │
|
|
│ list-repos List repos and branches in the current (or specified) │
|
|
│ workspace. │
|
|
│ add-repo Add a repo to a workspace. │
|
|
│ rm Remove a workspace: │
|
|
│ wip For each repo in the workspace: │
|
|
│ commit For each repo in the workspace: │
|
|
│ push For each repo in the workspace, run 'git push <remote> │
|
|
│ <current-branch>'. │
|
|
│ status Show detailed status for the current (or specified) workspace. │
|
|
│ diff Show git diff for all repos in the workspace. Uses rich Syntax │
|
|
│ highlighter for diffs. │
|
|
│ attach Attach to a workspace. │
|
|
│ tmux tmux commands │
|
|
╰──────────────────────────────────────────────────────────────────────────────╯
|
|
|
|
```
|