Unified Extensible Command line tools for common tasks - A plugin based CLI toolset that allows adding functionality you need. Create single standalone binaries that include common features that can run on multiple platforms.
docker run ghcr.io/tejzpr/zetools
Download a release, extract the archive and run
zetools -h
Follow the below steps to contribute a command plugin
- Fork the Hello Git repo and implement the
commands/Command interface
- call
commands.RegisterCommand
function in init() function
Example:
func init() {
commands.RegisterCommand(HelloCommandName, &helloCommand{}, nil)
}
- Add a plugin entry into Zetools -> main.go using "_" import, update Readme.md with plugin features and create a PR
zetools base64 <encode|decode> string
decode [string]
- Decode a Base64 encoded string.
encode [string]
- Base64 Encode a string.
zetools hmac <sha256|sha512> -text <string> -key <your-key>
zetools hmac <sha256|sha512> -filename <string> -key <your-key>
sha256
- Generate a SHA256 hash.
sha512
- Generate a SHA512 hash.
zetools checkPort --port 8080 --host localhost
zetools ping --host www.google.com
zetools ls -bs M -p ../
zetools tail -f test.log -fw true
zetools cat file.txt