Skip to main content

A command line tool for TimeTagger. This is a more feature-rich and ergonomic fork of the original timetagger-cli, providing better user experience and additional features.

Project description

(Better) TimeTagger CLI

Track your time with TimeTagger from the command line.

This is a more feature-rich and ergonomic fork of the original timetagger-cli by Almar Klein, providing additional features and improved ergonomics.

What's new?

This project does everything that the original timetracker-cli did, but it adds some great features and usibility improvements - batteries included!
See how they compare:

better-timetagger-cli timetagger-cli
Start Tasks
adjustable time
and more...
Stop Tasks
adjustable time
and more...
Resume Tasks
adjustable time
simplified UX for record selection
and more...
Display Status
includes breakdown per tag
Show Records
filter by tags
optional summary or summary-only
live monitoring
and more...
Diagnose & Fix Record Errors
Export to CSV
Import from CSV
includes dry-run mode to validate CSV files
Colored Output
Natural language support
use phrases like '5 min ago', 'last Friday' or 'May 12'
Configurable date/time format
Command aliases
t in and t out, are an alias for t start and t stop
Command shortcuts
Abbreviate commands like t out to t o

Installation

The TimeTagger CLI requires Python 3.10 or higher. Install with your favorite Python package manager, e.g.:

pipx install better-time-tagger

You can now use the CLI as either timetagger or simply t.

t --version
#  (Better) TimeTagger CLI, version X.X.X

Migrating from timetagger_cli

This project is a drop-in replacement for the original timetagger-cli package. You should first remove the original package from your system, then install better-timetagger-cli.

pipx uninstall timetagger-cli
pipx install better-timetagger-cli

Then run the setup command, to automatically migrate your existing timetagger configuration.

t setup
#  Migrating legacy configuration to new format...
#  TimeTagger config file: /path/to/config.toml

Configuration

Before using the CLI for the first time, you must configure the URL of your TimeTagger server, along with your API key. To update the configuration, simply run:

t setup

This will open the configuration file in your default editor. The first time you run this command, a default configuration file will be created automatically. Also, if an exsting configuration file from the original timetagger-cli pacage is found, it is migrated automatically.

Contribute

To report bugs or request features, please file a github issue on this repository.

Pull-Requests are welcome too. Please always file a github issue first.

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

better_timetagger_cli-0.1.0.tar.gz (71.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

better_timetagger_cli-0.1.0-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file better_timetagger_cli-0.1.0.tar.gz.

File metadata

File hashes

Hashes for better_timetagger_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 001e000953e4a78fadb45bcf7c0ec7809c0828c96ed0d9794bce3594b21fc631
MD5 cd699c88e1962c690e74046e78575cec
BLAKE2b-256 6b7fa8680276e5df0c672237950cbcc5a066ae3f28625525e557417459870aa9

See more details on using hashes here.

File details

Details for the file better_timetagger_cli-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for better_timetagger_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05b0fabea5d5d45613e3abecfd508e27da4c68a6fdbdca6ec4aeaead87b13c0f
MD5 4be1fb98c604bc75967afd8a02376a10
BLAKE2b-256 3d0a6f3f0937e3b2505ed76131d28e1616bf2f6aed64497397333d2f5fa20c65

See more details on using hashes here.

Supported by

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