hier-client

Python library for using Hier from the CLI.


License
MIT
Install
pip install hier-client==0.1.5

Documentation

hier_client

A Python library for using Hier from the CLI.

Install

The client requires Python >3.6. Just use pip to install:

$ pip install hier_client

Quickstart

Before using the client, you must generate a Hier token. Go to your profile page on Hier. Click the Refresh token button.

Back at the command-line, initialize the client. You'll only have to do this once.

$ hier init

You'll be prompted for the email you used to register for Hier, as well as the token you just generated. If you do ever want to update your token, you can always rerun hier init.

Now, add a note for today:

$ hier write "Learned about the Hier client."

If you've already made notes for today, no worries, just append to them:

$ hier write --append "Learned about the Hier client."

Or to start a note over from scratch, use --force instead.

$ hier write --force "Wrote a fresh note."

Finally, if you just want to see what you've already written:

$ hier read

Bugs or Suggestions

Feel free to leave an Issue if anything comes up!