Skip to content

Shinomix/Stasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stasher

Don't forget your stashed code anymore!

Setup

Slack side

  • 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 the Permissions Scopes section:
    • chat:write:bot
    • reminders:write
    • users:read
  • Once it's done, Save Changes and click on the banner to reinstall the app
  • When page has reloaded, copy the OAuth Access Token under the Token for Your Team section

Stasher side

  • Clone this repository in your $GOLANG path
  • Edit the conf.json.example file to add your Slack username and the OAuth Access Token Previously copied and rename it to conf.json
  • Run make init; make build ; go install
  • Optional For an ease-of-use, run sudo ln -s $GOPATH/bin/Stasher /usr/bin/Stasher

Use

  • Simply run stasher instead of git stash in your git repository
  • For detailed use, run stasher --help

To add to the project

  • Distribute Stasher Slack app on the Slack App Directory
  • Auto-install using go get -u

About

Don't forget your stashed code anymore!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published