Table of Contents
This is built in rust
brew tap Schrodinger-Hat/cattp https://github.com/Schrodinger-Hat/cattp
brew update
brew install cattp
Sometimes Homebrew will not upgrade your package directly with brew update && brew upgrade
. That's not a problem.
Just brew cleanup && brew uninstall cattp && brew install cattp
if that's the case. Or you can delete the file mismatch if you feel
that you want to do that and then just run brew upgrade
Unzip the cattp.tar.gz
and mv
the executable so that it can be found in your $PATH
variable.
mv cattp /usr/local/bin/
chmod +x /usr/local/bin/cattp
cattp
Install rust
on your systems. Run cargo install --path [a path of your choice]
.
Usage: cattp [OPTIONS] <STATUS>
Arguments:
<STATUS>
Options:
-d, --description
-n, --no-open
-e, --explain
-h, --help Print help
-V, --version Print version
example
cattp 404 -d
cattp 404 -n
cattp 404 -e
You can even use more flags together
cattp 404 -den
The console will output the status code and also open your system's web browser if o
flag is present.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
Schrodinger's Hat Team - @schrodinger_hat
Project Link: https://github.com/Schrodinger-Hat/cattp