Simple command-line snippet manager, written in Go. You can use variables (param or param=default_value ) in snippets. pet is written in Go, and therefore you can just grab the binary releases and drop it in your $PATH. pet is a simple command-line snippet manager (inspired by memo). I always forget commands that I rarely use. Moreover, it is difficult to search them from shell history. There are many similar commands, but they are all different. Register your command snippets easily. Use variables in snippets. Search snippets interactively. Run snippets directly. Edit snippets easily (config is just a TOML file). Sync snippets via Gist or GitLab Snippets automatically. By adding the following config to .bashrc or .zshrc, you can easily register the previous command.

Features

  • Register your command snippets easily
  • Use variables in snippets
  • Search snippets interactively
  • Run snippets directly
  • Edit snippets easily (config is just a TOML file)
  • Sync snippets via Gist or GitLab Snippets automatically

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow pet

pet Web Site

Other Useful Business Software
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight Icon
Next-Gen Encryption for Post-Quantum Security | CLEAR by Quantum Knight

Lock Down Any Resource, Anywhere, Anytime

CLEAR by Quantum Knight is a FIPS-140-3 validated encryption SDK engineered for enterprises requiring top-tier security. Offering robust post-quantum cryptography, CLEAR secures files, streaming media, databases, and networks with ease across over 30 modern platforms. Its compact design, smaller than a single smartphone image, ensures maximum efficiency and low energy consumption.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pet!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-12