bgng collection
Collections define named roots and globs for qmd indexing.
Commands
bgng collection list
bgng collection list --json
bgng collection add code ~/Projects/awesome --pattern "**/*.ts"
bgng collection add archive ~/Old --no-default
bgng collection remove archive
Subcommands
| Subcommand | Args | Notes |
|---|---|---|
list | none | --json emits collection records and doc counts. |
add | <name> <path> | Supports --pattern and --no-default. |
remove | <name> | Removes config only; files are untouched. |
--no-default excludes the collection from default search scope. Users must pass -c <name> to search it.