A command line interface for habitica
Installation
$ gem install habitica_cli
Usage
The cli needs your habitica user id and api key. You can configure these via the following:
- Setting/Exporting
HABIT_USERandHABIT_KEYin your environment - Using the
--habit-userand--habit-keyflags e.g.habitica list --habit-user='user-id' --habit-key='user-api-key' - Creating a YAML file with
habit_user: <your user id>andhabit_key: <your key>at:- osx:
~/Library/Preferencs/habitica_cli-ruby/config.yml - nix:
~/.config/habitica_cli-ruby/config.yml - windows:
~\AppData\Local\Config\habitica_cli-ruby\config.yml
- osx:
habitica <command> <action>Contributing
bundle
# lint and run specs
rake
# run specs
rake spec
# lint
rake rubocop
- Fork it ( https://github.com/[my-github-username]/habitica-cli/fork )
- 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 a new Pull Request