Download the PHP package sigma-z/simtt without Composer
On this page you can find all versions of the php package sigma-z/simtt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sigma-z/simtt
More information about sigma-z/simtt
Files in sigma-z/simtt
Package simtt
Short Description Interactive Simple Command Line Time Tracker in PHP
License MIT
Informations about the package simtt
Simtt - Interactive Simple Time Tracker for the CLI in PHP
Read the full documentation
The project was inspired by badcrocodile/cltt.
Getting started
Start timer and Status
What have I done today?
What did I do yesterday?
Installation
$ composer create-project sigma-z/simtt
Linux/MacOS
$ ./simtt --version
Windows
$ php simtt --version
Implemented features
This is an early project state. At the moment the tool can do:
- start a timer
- update the start of a timer
- stop a timer
- update the stop of a timer
- status whether a timer is running or not
Limitations
- it is not possible to track times across days
Quick feature overview
Usage ./simtt -i
to run the Simple Time Tracker in interactive mode.
You then can run a lot of commands directly by typing and pressing <enter>
:
start [time<hhmm|hh:mm>] [task-name]
starts a timer at a given time for a named task. Note: time and task name can be left blank.
- [x] implemented
start* [time<hhmm|hh:mm>] [task-name]
updates the start of last log entry. Note: time and task name can be left blank.
- [x] implemented
stop [time<hhmm|hh:mm>] [task-name]
stops a timer at a given time for a named task. Note: time and task name can be left blank, a given task name will overwrite the task name given at the start.
- [x] implemented
stop* [time<hhmm|hh:mm>] [task-name]
updates the stopping time of last log entry. Note: time and task name can be left blank.
- [x] implemented
continue [time<hhmm|hh:mm>]
continues last stopped task for a given time.
- [x] implemented
status
shows status whether a task is running, or not.
- [x] implemented
now
shows current time (which can be different because of your configuration - see config precision)
- [x] implemented
task[-offset] [<string>task-name]
updates a task text for a specified or currently running task. See also the documentation.
- [x] implemented
comment[-offset] [<string>comment]
updates a comment for a specified or currently running task. See also the documentation.
- [x] implemented
tasks
shows a list of the latest time tracked tasks
- [x] implemented
log [range-selection<int>]
shows the latest log entries by range.
- [x] implemented
day [sum]
shows the log entries of today. If "sum" is defined, it shows the log entries summarized.
- [x] implemented
day-1 [sum]
or yesterday [sum]
shows the log entries of yesterday. If "sum" is defined, it shows the log entries summarized.
- [x] implemented
day-n [sum]
shows the log entries for n-days before today. If "sum" is defined, it shows the log entries summarized.
- [x] implemented
You can do the same type of output for week
and month
.
- [x] week implemented
- [x] month implemented
All versions of simtt with dependencies
symfony/console Version ^6.0
symfony/dependency-injection Version ^6.0
symfony/config Version ^6.0
symfony/yaml Version ^6.0
ext-json Version *