This is a cli written in Go with a lot of help from Cobra. I wrote it to have some practice writing in Go, and writing CLI's. It's public but I don't really see what use anyone else could get out of it lol. Enjoy.
Example: questionable-cli <command>
- golang
sudo apt-get update && sudo apt-get install golang-go
- Clone this repo
git clone https://github.com/mrintern/questionable-cli.git
- Build the executable
go build
- Add to your $PATH
sudo mv questionable-cli /usr/bin
- Add the following line to .bashrc, .zshrc, or whatever file governs your shells profile
alias qcli='questionable-cli'
it should look something like this:
- restart your shell and run
qcli
Now, you can just type qcli
to run the tool, which is more convenient than typing questionable-cli