TIER FORGE IS ONLINE: CONSTRUCT AND VISUALIZE RANKED DATA SETS WITH DRAG-AND-DROP PRECISION. ACCESS AT /APPS/TIER-FORGE.

See Tier Forge
Back to Projects
2025Active Development

bm - bookmark manager

RustTOML

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.
  • Show Bookmarks: Display all bookmarks or a specific bookmark by name. Can be pretty-printed in a table format using -p or --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 as HOME_DIR.
  • cd $(bm s HOME_DIR): Change directory to the bookmarked HOME_DIR.
  • bm s -p: Show all bookmarks in a pretty table.
  • bm d HOME_DIR: Delete the HOME_DIR bookmark.

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.