timr 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,37 +14,53 @@ This command is designed to print a list of Tasks or Tracks to STDOUT and to exp
14
14
  .
15
15
  .SH "OPTIONS"
16
16
  .
17
- .IP "\(bu" 4
18
- \-d, \-\-day \fIdate\fR: A single day from 00:00 to 23:59\. See timr\-ftime(7)\.
17
+ .TP
18
+ \-d, \-\-day \fIdate\fR
19
+ A single day from 00:00 to 23:59\. See timr\-ftime(7)\.
19
20
  .
20
- .IP "\(bu" 4
21
- \-m, \-\-month \fI[YYYY\-]MM\fR: A single month from 01 to 31\.
21
+ .TP
22
+ \-m, \-\-month \fI[YYYY\-]MM\fR
23
+ A single month from 01 to 31\.
22
24
  .
23
- .IP "\(bu" 4
24
- \-y, \-\-year [\fIYYYY\fR]: A single year from 01\-01 to 12\-31\.
25
+ .TP
26
+ \-y, \-\-year [\fIYYYY\fR]
27
+ A single year from 01\-01 to 12\-31\.
25
28
  .
26
- .IP "\(bu" 4
27
- \-a, \-\-all: Export all\.
29
+ .TP
30
+ \-a, \-\-all
31
+ Export all\.
28
32
  .
29
- .IP "\(bu" 4
30
- \-\-tasks : Export Tasks (default)
33
+ .TP
34
+ \-\-tasks
35
+ Export Tasks (default)
31
36
  .
32
- .IP "\(bu" 4
33
- \-\-tracks: Export Tracks
37
+ .TP
38
+ \-\-tracks
39
+ Export Tracks
34
40
  .
35
- .IP "\(bu" 4
36
- \-\-format See TASK FORMAT and TRACK FORMAT section\.
41
+ .TP
42
+ \-\-billed
43
+ Filter only Tasks/Tracks which are billed\.
37
44
  .
38
- .IP "\(bu" 4
39
- \-\-csv \fIpath\fR: Export as CSV file\. Use \fB\-\-csv \-\fR to use STDOUT\.
45
+ .TP
46
+ \-\-unbilled
47
+ Filter only Tasks/Tracks which are not billed\.
40
48
  .
41
- .IP "\(bu" 4
42
- \-\-force : Force overwrite file\.
49
+ .TP
50
+ \-\-format
51
+ See TASK FORMAT and TRACK FORMAT section\.
43
52
  .
44
- .IP "\(bu" 4
45
- \-h, \-\-help: Displays the help page\.
53
+ .TP
54
+ \-\-csv \fIpath\fR
55
+ Export as CSV file\. Use \fB\-\-csv \-\fR to use STDOUT\.
46
56
  .
47
- .IP "" 0
57
+ .TP
58
+ \-\-force
59
+ Force overwrite file\.
60
+ .
61
+ .TP
62
+ \-h, \-\-help
63
+ Displays the help page\.
48
64
  .
49
65
  .SH "EXAMPLES"
50
66
  .
@@ -59,6 +75,11 @@ timr report \-\-year 2017 \-\-csv timr_report_2017\.csv
59
75
  timr report \-\-all \-\-csv timr_report_all\.csv
60
76
  timr report \-\-format \'\- %id\'
61
77
  timr report \-\-tracks \-\-format \'\- %Tsid %sid %t\'
78
+ timr report \-\-tracks \-\-all \-\-billed
79
+ timr report \-\-tracks \-\-all \-\-unbilled
80
+ timr report \-\-tasks \-\-all
81
+ timr report \-\-tasks \-\-all \-\-billed
82
+ timr report \-\-tasks \-\-all \-\-unbilled
62
83
  .
63
84
  .fi
64
85
  .
@@ -238,6 +259,14 @@ Name
238
259
  %d
239
260
  Description
240
261
  .
262
+ .TP
263
+ %ds
264
+ Duration Seconds
265
+ .
266
+ .TP
267
+ %dh
268
+ Duration Human Format
269
+ .
241
270
  .SH "TRACK FORMAT"
242
271
  .
243
272
  .TP
@@ -280,6 +309,22 @@ End Date
280
309
  %et
281
310
  End Time
282
311
  .
312
+ .TP
313
+ %ds
314
+ Duration Seconds
315
+ .
316
+ .TP
317
+ %dh
318
+ Duration Human Format
319
+ .
320
+ .TP
321
+ %bi
322
+ Billed Integer
323
+ .
324
+ .TP
325
+ %bh
326
+ Billed Human Format (YES, NO)
327
+ .
283
328
  .P
284
329
  Use \fB%T\fR prefix for each Task attribute for Track formatting\. For example use \fB%Tid\fR to use the Task ID\.
285
330
  .
@@ -29,7 +29,13 @@ This command is designed to print a list of Tasks or Tracks to STDOUT and to exp
29
29
  * --tracks:
30
30
  Export Tracks
31
31
 
32
- * --format
32
+ * --billed:
33
+ Filter only Tasks/Tracks which are billed.
34
+
35
+ * --unbilled:
36
+ Filter only Tasks/Tracks which are not billed.
37
+
38
+ * --format:
33
39
  See TASK FORMAT and TRACK FORMAT section.
34
40
 
35
41
  * --csv <path>:
@@ -53,6 +59,11 @@ timr report --year 2017 --csv timr_report_2017.csv
53
59
  timr report --all --csv timr_report_all.csv
54
60
  timr report --format '- %id'
55
61
  timr report --tracks --format '- %Tsid %sid %t'
62
+ timr report --tracks --all --billed
63
+ timr report --tracks --all --unbilled
64
+ timr report --tasks --all
65
+ timr report --tasks --all --billed
66
+ timr report --tasks --all --unbilled
56
67
  ```
57
68
 
58
69
  ## TASK TABLE COLUMNS
@@ -206,6 +217,12 @@ The last row in CSV files is always the total sum.
206
217
  * %d:
207
218
  Description
208
219
 
220
+ * %ds:
221
+ Duration Seconds
222
+
223
+ * %dh:
224
+ Duration Human Format
225
+
209
226
  ## TRACK FORMAT
210
227
 
211
228
  * %id:
@@ -238,6 +255,18 @@ The last row in CSV files is always the total sum.
238
255
  * %et:
239
256
  End Time
240
257
 
258
+ * %ds:
259
+ Duration Seconds
260
+
261
+ * %dh:
262
+ Duration Human Format
263
+
264
+ * %bi:
265
+ Billed Integer
266
+
267
+ * %bh:
268
+ Billed Human Format (YES, NO)
269
+
241
270
  Use `%T` prefix for each Task attribute for Track formatting. For example use `%Tid` to use the Task ID.
242
271
 
243
272
  ## API REFERENCE
@@ -0,0 +1,41 @@
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
+ .
4
+ .TH "TIMR\-RESET" "1" "April 2017" "FOX21.at" "Timr Manual"
5
+ .
6
+ .SH "NAME"
7
+ \fBtimr\-reset\fR \- Export Tasks and Tracks\.
8
+ .
9
+ .SH "SYNOPSIS"
10
+ timr reset [\fIoptions\fR]
11
+ .
12
+ .SH "DESCRIPTION"
13
+ Remove current running Track\. Paused commands will not be deleted\.
14
+ .
15
+ .SH "OPTIONS"
16
+ .
17
+ .TP
18
+ \-s, \-\-stack
19
+ Clean the Stack\.
20
+ .
21
+ .TP
22
+ \-h, \-\-help
23
+ Displays the help page\.
24
+ .
25
+ .SH "EXAMPLES"
26
+ .
27
+ .nf
28
+
29
+ timr reset
30
+ timr reset \-\-stack
31
+ .
32
+ .fi
33
+ .
34
+ .SH "API REFERENCE"
35
+ \fIhttps://timr\.fox21\.at/api/TheFox/Timr/Command/ResetCommand\.html\fR
36
+ .
37
+ .SH "SEE ALSO"
38
+ timr\-start(1), timr\-push(1)
39
+ .
40
+ .SH "TIMR"
41
+ This is part of timr(1)\.
@@ -0,0 +1,33 @@
1
+ timr-reset(1) -- Export Tasks and Tracks.
2
+ ===
3
+
4
+ ## SYNOPSIS
5
+
6
+ timr reset [<options>]
7
+
8
+ ## DESCRIPTION
9
+
10
+ Remove current running Track. Paused commands will not be deleted.
11
+
12
+ ## OPTIONS
13
+
14
+ * -s, --stack:
15
+ Clean the Stack.
16
+
17
+ * -h, --help:
18
+ Displays the help page.
19
+
20
+ ## EXAMPLES
21
+
22
+ ```
23
+ timr reset
24
+ timr reset --stack
25
+ ```
26
+
27
+ ## API REFERENCE
28
+
29
+ <https://timr.fox21.at/api/TheFox/Timr/Command/ResetCommand.html>
30
+
31
+ ## SEE ALSO
32
+
33
+ timr-start(1), timr-push(1)
data/man/timr.1 CHANGED
@@ -61,6 +61,9 @@ timr\-track(1)
61
61
  .IP "\(bu" 4
62
62
  timr\-report(1)
63
63
  .
64
+ .IP "\(bu" 4
65
+ timr\-reset(1)
66
+ .
64
67
  .IP "" 0
65
68
  .
66
69
  .SH "MISCELLANEOUS"
@@ -33,6 +33,7 @@ Timr is a time tracking tool for the Command-line, written in Ruby. You can trac
33
33
  * timr-task(1)
34
34
  * timr-track(1)
35
35
  * timr-report(1)
36
+ * timr-reset(1)
36
37
 
37
38
  ## MISCELLANEOUS
38
39
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: timr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Mayer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-16 00:00:00.000000000 Z
11
+ date: 2017-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -148,11 +148,13 @@ files:
148
148
  - bin/build_info.sh
149
149
  - bin/build_man.sh
150
150
  - bin/clean.sh
151
+ - bin/dev_data.sh
151
152
  - bin/dev_setup.sh
152
153
  - bin/install.sh
153
154
  - bin/publish
154
155
  - bin/release.sh
155
156
  - bin/test.sh
157
+ - bin/test_report.sh
156
158
  - bin/timr
157
159
  - bin/timr_bash_completion.sh
158
160
  - bin/uninstall.sh
@@ -165,6 +167,7 @@ files:
165
167
  - lib/timr/command/pop_command.rb
166
168
  - lib/timr/command/push_command.rb
167
169
  - lib/timr/command/report_command.rb
170
+ - lib/timr/command/reset_command.rb
168
171
  - lib/timr/command/start_command.rb
169
172
  - lib/timr/command/status_command.rb
170
173
  - lib/timr/command/stop_command.rb
@@ -206,6 +209,8 @@ files:
206
209
  - man/timr-push.1.ronn
207
210
  - man/timr-report.1
208
211
  - man/timr-report.1.ronn
212
+ - man/timr-reset.1
213
+ - man/timr-reset.1.ronn
209
214
  - man/timr-start.1
210
215
  - man/timr-start.1.ronn
211
216
  - man/timr-status.1