58 releases (7 stable)
2024.8.2 | Aug 2, 2024 |
---|---|
2024.7.18 | Jul 18, 2024 |
2024.7.1 | Jun 30, 2024 |
2024.3.18 | Mar 18, 2024 |
0.4.2 | Nov 30, 2021 |
#114 in Web programming
3,405 downloads per month
84KB
2.5K
SLoC
Installation
- cargo
cargo install fbtoggl
- Precompiled binary
Shell completions
WIP
Usage
Init
- Get API token from profile page.
- 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
~15–27MB
~416K SLoC