Saphan StudioDocs
Reference/Command reference

saphan workspace

Per-machine workspace registry (Phase-1): the workspaces this machine's daemon serves

saphan workspace

Per-machine workspace registry (Phase-1): the workspaces this machine's daemon serves

saphan workspace

Subcommands

SubcommandWhat it does
saphan workspace importSeed the registry from config.Workspace.Default plus any repeated --path flags (each path realpath'd and upserted)
saphan workspace listList registered workspaces (id, path, enabled/disabled, STALE if the path no longer resolves to a directory)
saphan workspace registerRegister a workspace path in the per-machine registry (idempotent — the same path or a symlink alias upserts ONE entry)
saphan workspace removeRemove a workspace from the registry, matched by id or by realpath'd path

saphan workspace import

Seed the registry from config.Workspace.Default plus any repeated --path flags (each path realpath'd and upserted)

saphan workspace import [flags]

Options

OptionTypeDefaultDescription
--pathstringArray[]additional workspace path to import (repeatable)

saphan workspace list

List registered workspaces (id, path, enabled/disabled, STALE if the path no longer resolves to a directory)

saphan workspace list

saphan workspace register

Register a workspace path in the per-machine registry (idempotent — the same path or a symlink alias upserts ONE entry)

saphan workspace register <path>

saphan workspace remove

Remove a workspace from the registry, matched by id or by realpath'd path

saphan workspace remove <path|id>

On this page