nb: `nb run`
The nb
notetaking tool has a run
subcommand to run arbitrary shell commands in a notebook.
This is useful to open an editor in the folder with the files from any working directory:
nb run vim # current notebook
nb foo:run vim # specific notebook
or to perform a text search on the notebook files from any working directory:
nb run rg "docker" # current notebook
nb foo:run rg "docker" # specific notebook
Published on: 14 Jun 2023