Skip to content

Search Clipboard History

Add the Maccy server address and bearer token to ~/.config/leo-cli/config.yaml:

clipboard:
base_url: http://127.0.0.1:8080
token: replace-with-a-long-random-token

Do not include /v1/entries in base_url; the command appends the endpoint path. The token must match a secret in the Maccy server auth map.

Without a query, the command shows the most recent clipboard entries:

Terminal window
leo clip

You can search by text or use fuzzy search:

Terminal window
leo clip kubernetes
leo clip kubernets --fuzzy
leo cb kubernetes

Press Enter to copy the selected entry. Esc or Ctrl-C cancels. --limit (or -n) controls the maximum number of entries to load, from 1 to 200, with a default of 50.