Skip to main content

A Harvest is always better with a good tool

Project description

Scythe

Harvests are always better with a good tool!

Scythe is a tool for interacting with the Harvest API

Installation

The package is available on PyPi

$ pip install scythe-cli

Scripts

scythe help - Displays all the help information for the CLI

scythe init - Used to initialize the tool with the Harvest token and Account ID. The auth token can be generated here. Check here for more information.

scythe whoami - Prints the Harvest user's information

scythe project:list - Lists out all the projects that the user is in

scythe timer:create - Presents an interface to create a timer based on project and task. Will automatically start the timer upon creation.

scythe timer:start - Used to start / restart a previously created timer.

scythe timer:running - Display the currently running timer

scythe timer:stop - Will stop the currenlty running timer

scythe timer:delete - Presents an interface to delete a timer from today

scythe cache - prints out the contents of the cache

scythe cache:clear - cleans out the cache

sycthe cache:delete KEY - deletes the KEY from the cache

Atomic Jolt

Scythe comes with a namespace atomic for Atomic Jolt specific timers.

scythe atomic:standup - Starts the timer for standup

scythe atomic:training - Stats the timer for training

Both of these scripts also accept a --launch flag. This will open the link named STANDUP_LINK or TRAINING_LINK in the config if they exist. So you could do something like:

$ echo "STANDUP_LINK=https://meet.google.com/linkname" >> ~/.config/scythe.conf
$ scyther atomic:standup --launch

And the standup link would be launched

Development

This project uses Poetry for dependancy / build management

$ git clone https://github.com/seanrcollings/scythe
$ cd scythe
$ poetry install

TODO

  • Implement a stats utility
    • Show time spent per project
    • Show time spent per project task
  • Add the ability to update a timer
  • Update the config file to use yaml

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

scythe-cli-0.7.0.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

scythe_cli-0.7.0-py3-none-any.whl (20.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page