CLI Reference
bamboost ships a command-line interface (CLI) that covers day-to-day collection and
index management without having to open Python.
After installing the package the entry point is available as:
bamboost --help/-h
# or
bamboost-cli --help/-hCollections
bamboost new <path>
Create a new collection at the given path. A unique identifier is automatically assigned and stored in a hidden file inside the directory.
bamboost new ./data/my-study
bamboost new ./data/my-study --alias "kh-study" --description "KH instability sweep"| Option | Short | Description |
|---|---|---|
--alias | -a | Human-readable alias for tab-completion |
--description | -d | Optional free-text description |
--tags | -t | Comma-separated tags |
bamboost yank <uid>
Copy a collection UID to the system clipboard.
Requires config.options.clipboardCommand to be configured (e.g. wl-copy on
Wayland, xclip -sel clip on X11, pbcopy on macOS).
bamboost yank 315628DE80Index management
The index subgroup contains commands for inspecting and maintaining the SQLite index
that caches collection and simulation metadata.
bamboost index --helpbamboost list [uid [name]]
List all collections cached in the index, or list the simulations inside a specific collection.
# List all collections
bamboost list
# List all simulations in collection 315628DE80
bamboost list 315628DE80
# Show details of a single simulation
bamboost list 315628DE80 my-simulation
# Sync the collection with the filesystem before listing
bamboost list 315628DE80 --sync
# Limit the number of displayed entries
bamboost list 315628DE80 --entries 20ls is accepted as an alias for list.
bamboost scan
Walk all configured search paths and add any new collections to the index. Useful after copying a collection from another machine or after a first install.
bamboost scanbamboost clean
Remove stale index entries whose corresponding directories no longer exist on disk.
bamboost cleanbamboost index drop <uid>
Remove a collection entry from the index by UID (or alias). This does not delete any files on disk.
bamboost index drop 315628DE80Database migration
bamboost migrate
Migrate the index database from the 0.10.x schema to the current 0.11.x schema.
Run this once after upgrading from 0.10.x.
Back up your database file before migrating. The default location is
~/.local/share/bamboost/bamboost.0.11.sqlite.
bamboost migrateAliases
bamboost alias
Manage human-readable aliases for collection UIDs. Aliases can be used anywhere a UID
is expected (e.g. bamboost list my-alias).
bamboost alias --helpConfiguration
bamboost config
Inspect and edit the active configuration.
bamboost config --helpShell completion
bamboost supports tab-completion for UIDs and simulation names in Bash, Zsh, and Fish.
# Bash
bamboost --install-completion bash
# Zsh
bamboost --install-completion zsh
# Fish
bamboost --install-completion fishAfter installation, restart your shell (or source the completion script) and UIDs will be offered as completions for commands that accept a UID argument.
Bamboost