b cache
Manage the local git cache used for env file syncing. The cache stores cloned git repositories to avoid re-cloning on every sync.
Subcommands
| Command | Description |
|---|---|
b cache clean | Remove all cached git repositories |
b cache path | Print the cache directory path |
b cache clean
Remove all cached git repositories and report freed disk space.
Usage
Examples
b cache path
Print the cache directory path. Useful for scripting or inspecting the cache manually.
Usage
Examples
Cache location
The default cache directory is ~/.cache/b/repos/. Each upstream git repository is stored as a bare clone, keyed by the provider reference.
Flags
| Flag | Description |
|---|---|
-h, --help | help for cache |
Global Flags
| Flag | Description |
|---|---|
-c, --config string | Path to configuration file (current: /home/fentas/github/fentas/b/.bin/b.yaml) |
--force | Force operations, overwriting existing binaries |
-q, --quiet | Quiet mode |
-v, --version | Print version information and quit |
Was this section helpful?