Search Clipboard History
Configure
Section titled “Configure”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-tokenDo 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.
Search And Copy
Section titled “Search And Copy”Without a query, the command shows the most recent clipboard entries:
leo clipYou can search by text or use fuzzy search:
leo clip kubernetesleo clip kubernets --fuzzyleo cb kubernetesPress 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.