Skip to content

simple, minimal CLI bookmark manager written in Go

Notifications You must be signed in to change notification settings

ShubhamVerma1811/x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

X - CLI Bookmark Manager

Manage your bookmarks seamlessly from the command line with x. This tool offers a range of commands to simplify bookmarking tasks, enhancing your workflow effortlessly.

Pre-requisites

You need to have Go and Sqlite installed on your machine.

Installation

go install github.com/ShubhamVerma1811/x

Running without adding to PATH

$HOME/go/bin/x

With adding to PATH

echo 'export PATH=$PATH/yourhomepath/go/bin' >> ~/.zshrc # or ~/.bashrc or perferred shell.

From the official docs:

The install directory is controlled by the GOPATH and GOBIN environment variables. If GOBIN is set, binaries are installed to that directory. If GOPATH is set, binaries are installed to the bin subdirectory of the first directory in the GOPATH list. Otherwise, binaries are installed to the bin subdirectory of the default GOPATH ($HOME/go or %USERPROFILE%\go).

Usage

x [command]

Available Commands

  • completion (c): Generate autocompletion scripts for your specified shell
  • delete (d): Remove a bookmark
  • export (e): Export the database to a JSON file
  • help (h): Get detailed information about any command
  • list (l): Display your saved bookmarks
  • open (o): Open a bookmark
  • save (s): Save a new bookmark
  • update (u): Update an existing bookmark

Flags

# # Display help for the main command
x -h, --help

# For more detailed information about a specific command
x [command] --help

List Command

Usage:

x list [flags]

Aliases:

list, l

Flags:

-h, --help # Display help for the list command
--type string # Filter bookmarks by type (default "all")

Save Command

Usage:

x save [flags]

Aliases:

save, s

Flags:

-h, --help # Display help for the save command

Delete Command

Usage:

x delete [flags]

Aliases:

delete, d

Flags:

-h, --help # Display help for the delete command

Export Command

Usage:

x export [flags]

Flags:

-h, --help # Display help for the export command

Open Command

Usage:

x open [flags]

Aliases:

open, o

Flags:

-h, --help: # Display help for the open command

Update Command

Usage:

x update [flags]

Flags:

-h, --help #  Display help for the update command
--id int # ID of the bookmark to update
--url string # URL of the bookmark to update

Enhance your command-line bookmarking experience with x!

About

simple, minimal CLI bookmark manager written in Go

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages