A simple iDoneThis command line client that can post dones for you. To configure, you need your API token.
Requires Ruby 2.0.0 or later.
sudo gem install highline
- OR - bundle install
Call as ./didit.rb
from didit folder - OR - set path
variable:
- Add the didit directory to your
path
:vim ~/.bash_profile
- Add this line to the bottom:
export PATH=$PATH:/Your/Code/Location/didit-cli-client
- Chmod the files to be executable
cd /Your/Code/Location/didit-cli-client
chmod 700 didit.rb
- Restart your terminal program
- Run the script! >
didit.rb
The client will continue asking you for done entries until you simply hit enter.
Alternatively, a done entry may be passed as a commandline argument, e.g.:
./didit.rb "I made some great pasta sauce."
Should you ever need to reset your configuration file, simply do:
./didit.rb --reset
This client is written in Ruby and serves as a quick example on how one could use the iDoneThis API.