A simple CLI interface for Noko time tracking.
Project description
Noko CLI
The Noko CLI allows you to log a time entry directly from the CLI and sync all of your calendar events from GCal to Noko.
It makes three CLI commands available:
| Command | Shorthand | Description |
|---|---|---|
| noko_cli_setup | ncs | Configure the Noko CLI app |
| noko_log | nl | Log a time entry to Noko |
| call_sync | cs | Sync events from Google Calendar into Noko entries |
Installation
To install the complete app and dependencies, run:
pip install noko-cli
To install only what's required to one specific command, run:
pip install noko-cli[noko_log]
pip install noko-cli[call_sync]
Note: To be able to run the call_sync command, you'll need to add a credentials.json file with the Google web credentials to .noko_cli.
noko_cli_setup
Run the noko_cli_setup or ncs command to set up the application. It'll ask you to provide the information needed to run the commands.
The result of this command will be a config.json file with the necessary details.
noko_log
The noko_log or nl command requires at least three parameters: minutes, project and description. It also allows an
optional date parameter.
It supports four flags:
| Flag | Meaning |
|---|---|
| -u | Add the unbillable tag to the entry. |
| -p | Add the pair tag to the entry. |
| -c | Add the calls tag to the entry. |
| -y | Mark the entry as from yesterday. |
Example usage:
nl 30 Operations "Slack convos and emails"
nl --date "2024-09-20" 60 Sales "Sales call with Lead X"
gcal_sync
The gcal_sync or cs command does not require any parameters. It allows an optional date parameter.
Example usage:
cs
cs -d "2024-09-20"
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file noko_cli-0.1.5.tar.gz.
File metadata
- Download URL: noko_cli-0.1.5.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e207c33aa9ca77a2254010ede0ff184d842a831ca09753d43b9280065144285
|
|
| MD5 |
bc7f0243f2717ee64e7a2535b316f014
|
|
| BLAKE2b-256 |
d8cbb2a329f780f645064ba7ae1191c7e24f2d47b04e6bf2575c1d30cc92e7b5
|
File details
Details for the file noko_cli-0.1.5-py3-none-any.whl.
File metadata
- Download URL: noko_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb00723e34b80c55918d396a71dd8fa790e14b9f81803c479193875f52610beb
|
|
| MD5 |
ffd995f7bd2902ef3842a08ef2b56a96
|
|
| BLAKE2b-256 |
6db36abc15e0c36990efd644adcd011f26d139aab2caf20d20d20c01f6d41a5c
|