BM is a simple command-line bookmark manager for your shell. It stores bookmarks in a `store.toml` file within a `~/.bm` directory.
BM is a simple command-line bookmark manager for your shell. It stores bookmarks in a store.toml file within a ~/.bm directory.
Key Features:
- Add Bookmarks: Add the current directory or a specified directory/file to your bookmarks.
- Options include
--add-anyway(adds even if path doesn't exist),--overwrite(overwrites existing bookmarks),--directory-only, and--file-only.
- Options include
- Show Bookmarks: Display all bookmarks or a specific bookmark by name. Can be pretty-printed in a table format using
-por--pretty. - Delete Bookmarks: Remove a bookmark by its name.
- Help & Version: Access help text and version information.
- Debug Mode: Activate debug mode for any command to see additional prints.
Usage Examples:
bm a HOME_DIR ~: Add the home directory asHOME_DIR.cd $(bm s HOME_DIR): Change directory to the bookmarkedHOME_DIR.bm s -p: Show all bookmarks in a pretty table.bm d HOME_DIR: Delete theHOME_DIRbookmark.
Building & Packaging:
The project can be built using cargo build and run with cargo run --package bm --bin bm. Instructions are also provided for creating Debian (cargo deb) and RPM packages (cargo generate-rpm) with metadata configuration.