Crates.io | ct-tracker |
lib.rs | ct-tracker |
version | 0.1.1 |
source | src |
created_at | 2021-03-13 14:31:03.241229 |
updated_at | 2021-03-15 16:20:55.790721 |
description | A simple CLI time tracking tool using ct_tracker_lib. |
homepage | |
repository | https://gitlab.com/tnienhaus/ct |
max_upload_size | |
id | 368309 |
size | 59,498 |
A command-line time tracking tool.
ct
ct
is, as it says in the top, a CLI time tracking tool, written in Rust, which tracks your time in a project based way.
Because this has just started development, all if this can change.
This will be done automatically when using start
on a non-existant project.
$ ct create ct
Created new project 'ct'
Start tracking a new project:
$ ct start -p ct
Created new project 'ct'
Started tracking project 'ct'
Start tracking an existing project:
$ ct start -p ct
Time spent on project 'ct' already: 8h5m4s
Started tracking project 'ct'
Start tracking an existing project, while another one is being tracked:
$ ct start -p ct
Already tracking project 'npp'
Stopped tracking project 'npp'
Time spent on project 'npp' already: 8h5m4s
Time spent on project 'npp' in this session: 4h0m0s
Time spent on project 'ct' already: 8h5m4s
Started tracking project 'ct'
Start tracking a new project, while another one is being tracked:
$ ct start -p ct
Already tracking project 'npp'
Stopped tracking project 'npp'
Time spent on project 'npp' already: 8h5m4s
Time spent on project 'npp' in this session: 4h0m0s
Created new project 'ct'
Started tracking project 'ct'
Stop tracking a project:
$ ct stop -p # without a specific project
Time spent on project 'ct' already: 8h5m4s
Time spent on project 'ct' in this session: 4h0m0s
Stopped tracking project 'ct'
$ ct stop -p ct # with a specific project
Time spent on project 'ct' already: 8h5m4s
Time spent on project 'ct' in this session: 4h0m0s
Stopped tracking project 'ct'
Start tracking new task:
$ ct start ct.tracking
Started tracking task 'tracking' in project 'ct'
Start tracking an existing task:
$ ct start ct.tracking
Time spent on 'ct.tracking' already: 8h5m4s
Started tracking task 'tracking' in project 'ct'
Stop tracking:
$ ct stop #without specific task
Stopped tracking task 'tracking' in project 'ct'
Time spent on 'ct.tracking' already: 8h5m4s
Time spent on 'ct.tracking' in last session: 4h0m0s
$ ct stop ct.tracking #with a specific task
Stopped tracking task 'tracking' in project 'ct'
Time spent on 'ct.tracking' already: 8h5m4s
Time spent on 'ct.tracking' in last session: 4h0m0s
Start tracking a task, while another one is currently going on:
$ ct start ct.export
Already tracking task 'tracking' in project 'ct'
Stopped tracking task 'tracking' in project 'ct'
Time spent on ct.tracking already: 8h5m4s
Time spent on ct.tracking in last session: 4h0m0s
Started tracking task 'export' in project 'ct'
ct
configurable using a config.json/config.toml