Skip to content

list

List all bookmarks

Usage

Terminal window
bookmark list

Description

newListCmd creates the list command for displaying all bookmarks.

The list command shows all bookmarks in a formatted table with:

  • Alias: The bookmark name
  • Path: The directory path
  • Description: Optional bookmark description

The output is formatted with proper alignment for easy reading.

Examples:

# List all bookmarks
bookmark list
# Use with custom config
bookmark list -c ~/.config/bookmark/custom.toml

Flags

FlagTypeDescription
-c, --configstringconfig file path

Source

See list_cmd.go for implementation details.