dev-master
9999999-dev https://github.com/aframevr/slackoverflowWork in progress...
MIT
The Requires
- php >= 7
php aframe
Work in progress...
Web hook that posts tagged Stack Overflow questions to Slack, updated using reaction emojis., (*1)
git clone https://github.com/aframevr/slackoverflow.git $GOPATH/src/github.com/aframevr/slackoverflow cd $GOPATH/src/github.com/aframevr/slackoverflow make dependencies make install
You can simply execute following command to start interactive configuration
All slackoverflow configuartion files including SQLite database are stored at
$HOME/.slackoverflow/
, (*3)
slackoverflow init
You can check or manually edit generated configuration file., (*4)
slackoverflow config cat ~/.slackoverflow/slackoverflow.yaml
Best way to test it is to use run
command., (*5)
slackoverflow run
See slackoverflow --help for more info
See slackoverflow--help for more info about specific command , (*6)
Usage: slackoverflow [OPTIONS] <command> Application Options: -v, --verbose Be more verbose, This enable loglevel Info -d, --debug Be even more verbose, This enables loglevel Debug Help Options: -h, --help Show help message
config
, (*7)
Display SlackOverflow configuration., (*8)
credits
, (*9)
List of SlackOverflow contributors., (*10)
reconfigure
, (*11)
Interactive configuration of stackoverflow (aliases: init), (*12)
run
, (*13)
Run SlackOverflow once., (*14)
flags | |
---|---|
--keep-alive |
Keep on rumning every minute |
service --help, (*15)
SlackOverflow daemon All service comands require super user (sudo, root) privileges
To install and use SlackOverflow as a service you have to also
copy binary to bin path and configure SlackOverflow as super user., (*16)
e.g, (*17)
make && make install sudo cp $GOPATH/bin/slackoverflow /usr/bin/ sudo slackoverflow reconfigure sudo slackoverflow install sudo slackoverflow start
service install
, (*18)
Install SlackOverflow service., (*19)
service remove
, (*20)
Remove SlackOverflow service, (*21)
service restart
, (*22)
Restart SlackOverflow service., (*23)
service start
, (*24)
Start SlackOverflow service., (*25)
service status
, (*26)
Get SlackOverflow service status., (*27)
service stop
, (*28)
Stop SlackOverflow service., (*29)
slack --help
, (*30)
Slack related commands see slackoverflow slack --help for more info., (*31)
slack channels
, (*32)
This method returns a list of all Slack channels in the team., (*33)
slack questions
, (*34)
Post new or update tracked Stack Exchange questions on Slack channel., (*35)
flags | |
---|---|
--post-new |
Post new questions origin from configured Stack Exchange Site |
--update |
Update information about questions already posted to slack |
--all |
Get new questions and update information about existing questions |
stackexchange --help
, (*36)
Stack Exchange related commands see slackoverflow stackexchange --help for more info., (*37)
stackexchange questions
, (*38)
Work with stackexchange questions based on the config, (*39)
flags | |
---|---|
--get |
Get new questions from configured Stack Exchange Site |
--update |
Update information about existing questions |
--sync |
Get new questions and update information about existing questions |
stackexchange watch
, (*40)
Watch new questions from Stack Exchange site, (*41)
validate
, (*42)
Validate stackoverflow configuration, (*43)
, (*44)
Work in progress...
MIT
php aframe