main
bel 2023-11-26 21:58:39 -07:00
parent ebeec7ec6b
commit f81465534e
3 changed files with 18 additions and 0 deletions

3
src/testdata/cmdline.txt vendored Normal file
View File

@ -0,0 +1,3 @@
$ tsheet-cli -clock-in # adds "" for the timestamp
$ tsheet-cli -add def -tag abc # adds def with tag abc using same-day for duration OR 1h
$ tsheet-cli -log -since YYYY-MM-DD # prints standalone.txt inclusive since given time

9
src/testdata/standalone.txt vendored Normal file
View File

@ -0,0 +1,9 @@
- t: 1969-12-31
d:
adds:
- d: 1
add: abc
adds:
- def
- d: 0
add: ghi

6
src/testdata/standalone.yaml vendored Normal file
View File

@ -0,0 +1,6 @@
adds:
- t: 1
add: def
tag: abc
- t: 2
add: ghi