Skip to main content

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"

Metadata

Release files for noko-cli 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for noko-cli 0.1.5
File Size Uploaded
noko_cli-0.1.5.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for noko-cli 0.1.5
File Interpreter ABI Platform
noko_cli-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 14.6 kB

Release files / noko_cli-0.1.5.tar.gz

Download URL noko_cli-0.1.5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9e207c33aa9ca77a2254010ede0ff184d842a831ca09753d43b9280065144285
BLAKE2b-256 checksum
How to use checksums
d8cbb2a329f780f645064ba7ae1191c7e24f2d47b04e6bf2575c1d30cc92e7b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10

Release files / noko_cli-0.1.5-py3-none-any.whl

Download URL noko_cli-0.1.5-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fb00723e34b80c55918d396a71dd8fa790e14b9f81803c479193875f52610beb
BLAKE2b-256 checksum
How to use checksums
6db36abc15e0c36990efd644adcd011f26d139aab2caf20d20d20c01f6d41a5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.11.10

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page