timetrap 1.5.2 → 1.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +8 -0
- data/VERSION.yml +1 -1
- data/lib/timetrap/cli.rb +15 -0
- data/timetrap.gemspec +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -56,10 +56,18 @@ Usage
|
|
56
56
|
|
57
57
|
The basic usage is as follows:
|
58
58
|
|
59
|
+
$ # create the "writing" timesheet
|
59
60
|
$ t switch writing
|
61
|
+
|
62
|
+
$ # check in 5 minutes ago
|
60
63
|
$ t in document timetrap --at "10 minutes ago"
|
64
|
+
|
65
|
+
$ # check out
|
61
66
|
$ t out
|
62
67
|
|
68
|
+
$ # view current timesheet
|
69
|
+
$ t display
|
70
|
+
|
63
71
|
The first command, ``t switch writing``, switches to the timesheet "writing"
|
64
72
|
(or creates it if it does not exist). ``t in document timetrap --at "10 minutes
|
65
73
|
ago"`` creates a new period in the current timesheet, and annotates it with the
|
data/VERSION.yml
CHANGED
data/lib/timetrap/cli.rb
CHANGED
@@ -81,10 +81,25 @@ COMMAND is one of:
|
|
81
81
|
usage: t week [--ids] [--end DATE] [--format FMT] [SHEET | all]
|
82
82
|
|
83
83
|
OTHER OPTIONS
|
84
|
+
|
84
85
|
-h, --help Display this help.
|
85
86
|
-r, --round Round output to 15 minute start and end times.
|
86
87
|
-y, --yes Noninteractive, assume yes as answer to all prompts.
|
87
88
|
|
89
|
+
EXAMPLES
|
90
|
+
|
91
|
+
# create the "MyTimesheet" timesheet
|
92
|
+
$ t switch MyTimesheet
|
93
|
+
|
94
|
+
# check in 5 minutes ago with a note
|
95
|
+
$ t in --at '5 minutes ago' doing some stuff
|
96
|
+
|
97
|
+
# check out
|
98
|
+
$ t out
|
99
|
+
|
100
|
+
# view current timesheet
|
101
|
+
$ t display
|
102
|
+
|
88
103
|
Submit bugs and feature requests to http://github.com/samg/timetrap/issues
|
89
104
|
EOF
|
90
105
|
|
data/timetrap.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timetrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 1.5.
|
9
|
+
- 3
|
10
|
+
version: 1.5.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sam Goldstein
|