2021-06-19.18.05.05.mov
cargo install discordcat
brew install k-nasa/tap/discordcat
wget https://github.com/k-nasa/discordcat/releases/download/0.2.0/discordcat_x86_64-unknown-linux-gnu.tar.gz
tar -xf discordcat_x86_64-unknown-linux-gnu.tar.gz
sudo mv ./discordcat_x86_64-unknown-linux-gnu/discordcat /usr/local/bin/
sudo chmod +x /usr/local/bin/discordcat
$ discordcat --setup
$ echo "hello discord" | discordcat
$ discordcat -f ./README.md
$ discordcat -f README.md --filename readme
$ echo hello | discordcat --webhook https://discordapp.com/api/webhooks/hoge/huga
discordcat 0.2.0
CLI utility to post files and command output to discord
USAGE:
discordcat [FLAGS] [OPTIONS]
FLAGS:
--setup
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--username <username>
-c, --channel <channel>
-f, --file <file>
--filename <filename>
--webhook <webhook_url>
- Fork it ( http://github.com/k-nasa/discordcat )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request