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.

Source Distribution

hier_client-0.1.5.tar.gz (6.8 kB view hashes)

Uploaded source

Built Distribution

hier_client-0.1.5-py3-none-any.whl (8.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page