Don't forget your stashed code anymore!
- Create a new basic app on Slack admin and setup the team you want it to be integrated into
- In
Features >> OAuth & Permissions, add new scopes under thePermissions Scopessection:- chat:write:bot
- reminders:write
- users:read
- Once it's done,
Save Changesand click on the banner to reinstall the app - When page has reloaded, copy the OAuth Access Token under the
Token for Your Teamsection
- Clone this repository in your
$GOLANGpath - Edit the
conf.json.examplefile to add your Slack username and the OAuth Access Token Previously copied and rename it toconf.json - Run
make init; make build ; go install - Optional For an ease-of-use, run
sudo ln -s $GOPATH/bin/Stasher /usr/bin/Stasher
- Simply run
stasherinstead ofgit stashin your git repository - For detailed use, run
stasher --help
- Distribute
StasherSlack app on the Slack App Directory - Auto-install using
go get -u