diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-03-11 18:33:02 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-03-11 18:33:02 +0100 |
commit | e6c1cacb60010ec75e02cf72acf34278417670fd (patch) | |
tree | 97e8f8042f4d8461e7cec9f403787bad20ffde9e /core/state |
initial commit (basic functionality)
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" + |