diff --git a/src/testdata/cmdline.txt b/src/testdata/cmdline.txt new file mode 100644 index 0000000..9af1581 --- /dev/null +++ b/src/testdata/cmdline.txt @@ -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 diff --git a/src/testdata/standalone.txt b/src/testdata/standalone.txt new file mode 100644 index 0000000..e420b73 --- /dev/null +++ b/src/testdata/standalone.txt @@ -0,0 +1,9 @@ +- t: 1969-12-31 + d: + adds: + - d: 1 + add: abc + adds: + - def + - d: 0 + add: ghi diff --git a/src/testdata/standalone.yaml b/src/testdata/standalone.yaml new file mode 100644 index 0000000..423b48d --- /dev/null +++ b/src/testdata/standalone.yaml @@ -0,0 +1,6 @@ +adds: +- t: 1 + add: def + tag: abc +- t: 2 + add: ghi