55 releases (4 stable)

2024.3.18 Mar 18, 2024
0.8.20 Aug 13, 2023
0.8.19 Apr 16, 2023
0.8.13 Feb 3, 2023
0.4.2 Nov 30, 2021

#86 in Web programming

Download history 73/week @ 2024-02-12 59/week @ 2024-02-19 36/week @ 2024-02-26 5/week @ 2024-03-11 133/week @ 2024-03-18 297/week @ 2024-04-01

435 downloads per month

Custom license

83KB
2.5K SLoC

fbtoggl

https://crates.io/crates/fbtoggl https://github.com/icepuma/fbtoggl/actions/workflows/ci.yaml

Interact with track.toggl.com via terminal.

InstallationUsage

Installation

  • cargo
    cargo install fbtoggl
    
  • Precompiled binary

Shell completions

WIP

Usage

Init

  1. Get API token from profile page.
  2. Call fbtoggl init which prompts an input for the API token

Workspaces

fbtoggl workspaces list

Projects

fbtoggl projects list

Clients

fbtoggl clients list
fbtoggl clients create --name "<name>"

Time entries

List

fbtoggl time-entries list [--range "today"]

Details

You can find the <time entry id> via JSON output of all time-entries or the time-entries start command prompts it after starting a timer.

fbtoggl time-entries details --id "<time entry id>"

Create

fbtoggl time-entries create --project "<project>" --description "<description>" --start "today at 6am" --duration "8 hours" [--lunch-break]
fbtoggl time-entries create --project "<project>" --description "<description>" --start "today at 6am" --end "today at 6pm" [--lunch-break]

Start

fbtoggl time-entries start --project "<project>" --description "<description>"

Stop

You can find the <time entry id> via JSON output of all time-entries or the time-entries start command prompts it after starting a timer.

fbtoggl time-entries start --id "<time entry id>" --project "<project>" --description "<description>"

Delete

You can find the <time entry id> via JSON output of all time-entries or the time-entries start command prompts it after starting a timer.

fbtoggl time-entries delete --id "<time entry id>"

Dependencies

~13–27MB
~425K SLoC