San7o/micro-timerd
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
micro-timerd
============
Client-server application to start, stop and list timers.
Author: Giovanni Santini
Mail: giovanni.santini@proton.me
License: MIT
Usage
-----
micro-timerd
Simple timer utility
Options:
-h,help
show help message
-d,server
run as server
-a,--address <str>
address of server
-p,--port <int>
server port
-s,stop
stop a timer, expects a name and a timestamp
-S,start
start a timer, expects a name and a timestamp
-l,list
list timers, can accept a name
-n,--name <str>
timer name
-t,--timestamp <str>
timestamp HH:MM:SS
Example
------
sh1: $ make
./micro-timerd server
sh2: $ ./micro-timerd start --name test --timestamp 00:02:30
Started timer
$ ./micro-timerd list
Timers:
- name: test, timestamp: 00:02:30, remaining: 143
$ ./micro-timerd stop --name test
Stopped timer
$ ./micro-timerd list
No timers present