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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scythe-cli-0.8.1.tar.gz
.
File metadata
- Download URL: scythe-cli-0.8.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Linux/5.14.8-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32511be63045189aba69e9e78d58408b553dd86176bc6727756633173d09083f |
|
MD5 | b3ad52f7f126d55103692cd7d454908b |
|
BLAKE2b-256 | 5ca2b8202527ac2bb55bc193a46dbbccd97fadf9062dc5b588900a03d6ede514 |
Provenance
File details
Details for the file scythe_cli-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: scythe_cli-0.8.1-py3-none-any.whl
- Upload date:
- Size: 20.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Linux/5.14.8-arch1-1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c838231d807a5c5be24489f1c5def180e41d2d179c0a6926d7a14010ba0d76a1 |
|
MD5 | 92b4145cf28475707e14df87089d33c8 |
|
BLAKE2b-256 | 2803a07508990b0a89de944c2686205759c5b684ce27246e54ee2808be45b3c3 |