Skip to main content

Python library for using Hier from the CLI.

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for hier-client, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size hier_client-0.1.5-py3-none-any.whl (8.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size hier_client-0.1.5.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page