Skip to main content

Crate linkmarks_cli

Crate linkmarks_cli 

Source
Expand description

linkmarks-cli — the LinkMarks command-line interface.

Re-exports the CLI parsing, XDG paths resolution, and command dispatch. The run function is the canonical entry point that binaries (both the workspace-local linkmarks bin and any future embedding crate — including the linkmarks umbrella) call.

§Subcommands

  • init — initialize the XDG store + config.
  • list — list bookmarks deterministically.
  • import — import from a bridge source.
  • export — export to a sink format.
  • dedupe — local deterministic dedupe by canonical URL.
  • tui — launch the interactive terminal browser.
  • completions — emit a shell completion script (bash/zsh/fish/powershell/elvish).

Modules§

cmd
Subcommand modules.
exit_codes
Exit codes per SPEC.md §Acceptance criteria (CLI summary).
ui
Output formatting helpers (table / json / yaml).

Structs§

Cli
Paths
Resolved XDG paths. Built once per invocation and threaded into every subcommand that needs them.

Enums§

Format

Functions§

build_cli
Build the canonical Cli command tree.
run
Run the LinkMarks CLI.