0.0
No commit activity in last 3 years
No release in over 3 years
Provides a minijmal highline based ruby cli for habitica
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
>= 0
~> 10.0
~> 3.4.0
~> 0.36.0
>= 1.22.6, ~> 1.22

Runtime

~> 0.9.2
~> 1.0.2
~> 0.19.1
 Project Readme

habitica-cli Build Status Gem Version

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_USER and HABIT_KEY in your environment
  • Using the --habit-user and --habit-key flags e.g. habitica list --habit-user='user-id' --habit-key='user-api-key'
  • Creating a YAML file with habit_user: <your user id> and habit_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
habitica <command> <action>

Contributing

bundle
# lint and run specs
rake

# run specs
rake spec

# lint
rake rubocop
  1. Fork it ( https://github.com/[my-github-username]/habitica-cli/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