Workspace CLI
Summary
Manage your workspace via the CLI
Usage
dendron workspace <cmd>
workspace related commands
Positionals:
cmd a command to run
[string] [required] [choices: "pull", "push", "addAndCommit", "sync",
"removeCache", "init", "info"]
Options:
--version Show version number [boolean]
--help Show help [boolean]
--wsRoot location of workspace
--vault name of vault
--quiet don't print output to stdout
--enginePort If set, connect to to running engine. If not set, create new
instance of Dendron Engine
--attach Use existing engine instead of spawning a new one
--useLocalEngine If set, use in memory engine instead of connecting to a
server [boolean]
Commands
init
Initialize a Workspace.
pull
Run git pull --rebase
on all vaults inside workspace
push
Run git push
on all vaults inside workspace
- NOTE: push currently skips workspace vaults
addAndCommit
Run git add . && git commit
on all vaults inside the workspace
sync
Run addAndCommit
, pull
, and push
on all vaults inside the workspace. This follows the same configuration as the Workspace: Sync
command in the extension, see Workspace Sync for details.
Backlinks