csb exec
Run a command inside the default (or named) brain's directory.
Usage
csb exec [--brain <name>] -- <cmd…>Sets INDEX_PATH to the brain's qmd index and the working directory to the brain's root, then runs the command. Useful for vault-local scripts that assume you're in the brain root.
Arguments
cmd
string[] (required)
The command to run and its arguments, after --.
csb exec -- pnpm qmd:reindexOptions
--brain <name>
string
Target a specific brain instead of the default.
csb exec --brain work -- git status--
Required separator before the command to run.
-h, --help
Displays help message.
csb exec --help