msroz / jobcantan

⏰ CLI for punching in/out by Jobcan via Slack command.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⏰ jobcantan

CLI for punching in/out by Jobcan via Slack command.

Build Status

Installation

homebrew

$ brew update
$ brew tap msroz/jobcantan
$ brew install jobcantan

git clone

$ brew update && brew install crystal-lang
$ git clone git@github.com:msroz/jobcantan.git
$ cd jobcantan
$ make install

Usage

$ jobcantan --init
$ vim $HOME/.config/jobcantan.yml

jobcantan.yml

slack_token: xoxp-xxxxxxxx-xxxxxxxx-xxxxxxxx-xxxxxxxx # required
slack_channel_id: XXXYYYZZZ # required
default_message: Hello Jobcan # optional

Types of tokens - Slack

Punching in/out

$ jobcantan

slack.png

Help

$ jobcantan --help

jobcantan - CLI for punching in/out in Jobcan via Slack command.

Usage: jobcantan [options] message
  -c, --config CONFIG_FILE
  -h, --help
  -v, --version
      --show-config
      --init

Development

TODO: Write development instructions here

Contributing

  1. Fork it (https://github.com/msroz/jobcantan/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • msroz - creator and maintainer

About

⏰ CLI for punching in/out by Jobcan via Slack command.

License:MIT License


Languages

Language:Crystal 88.8%Language:Makefile 11.2%