aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAlex <a.kiryukhin@mail.ru>2021-12-05 17:49:53 +0300
committerAlexander Kiryukhin <a.kiryukhin@mail.ru>2021-12-07 03:08:37 +0300
commit674d9a4a5d0528bbc0c184de2d271004c0e1c831 (patch)
tree58e084ac7fd68922141c334b1112a66edb2bb3f5 /README.md
parentbcdbe68ecde049ef62343584bcc26840322c4864 (diff)
first release
Diffstat (limited to 'README.md')
-rw-r--r--README.md54
1 files changed, 54 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1b7142b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,54 @@
+# track
+Time tracker for nerds
+
+## Installation
+
+```
+go install github.com/neonxp/track@latest
+```
+
+OS specified packages will be soon
+
+## Usage
+
+1. Add new activity:
+```
+track add Activity summary [#tag1 #tag2 @context1 @context2]
+```
+example:
+```
+~ track add Work on time tracker #tracker @home
+Activity #1 added! Now you can start it.
+```
+2. Start activity:
+```
+track start ID [comment]
+```
+example:
+```
+~ track start 1 Writing documentation.
+Started new span for activity "Work on time tracker".
+```
+3. List activities:
+```
+track ls [--all]
+```
+example:
+```
+~ track ls
+Started activities:
+1. Work on time tracker
+ 1 timespans
+ 19:17 5.12.2021 — now (10 minutes)
+```
+4. Complete work on activity. if activity id empty - stop all started activities:
+```
+track stop [ID]
+```
+example:
+```
+~ track stop
+Stopped activity "Work on time tracker".
+Last duration: 12 minutes.
+All spent time: 12 minutes.
+```