diff options
Diffstat (limited to 'core/state')
-rwxr-xr-x | core/state | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/core/state b/core/state new file mode 100755 index 0000000..fcf327d --- /dev/null +++ b/core/state @@ -0,0 +1,21 @@ +#!/bin/sh +[ "$1" = "info" ] && echo "show timer" && exit 2 +. "$core_path/lib" + +usage() { + cat << EOF +$subcmd -- show timer + +usage: + $subcmd [options] + +options: + -h, --help show help + +actions: +EOF +} + +. "$core_path/update" +echo "[$state] $lap: ${remaining}s" + |