Skip to content

Commit 58cbee6

Browse files
committed
expand on features
update nancy target and remove copied template update screenshot
1 parent cb5e508 commit 58cbee6

File tree

4 files changed

+18
-17
lines changed

4 files changed

+18
-17
lines changed

README.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,28 @@ A [Timewarrior](https://timewarrior.net/) report script that will help you organ
44

55
This project was inspired by the venerable Emacs org-mode and its built-in clock tables. The goal is to create some of those features for Timewarrior.
66

7+
![A screenshot of billable](./screenshot.png)
8+
79
Requires Nim with Nimble, version 1.6.6 or compatible.
810

911
Version 0.1.0
1012

1113
## Contents
1214

13-
1. <a href="#start">Getting Started</a>
14-
2. <a href="#config">Configuration</a>
15-
3. <a href="#example">Example</a>
16-
4. <a href="#caveats">Caveats</a>
17-
5. <a href="#contrib">Contributing</a>
15+
1. <a href="#features">Features</a>
16+
2. <a href="#start">Getting Started</a>
17+
3. <a href="#config">Configuration</a>
18+
4. <a href="#example">Example</a>
19+
5. <a href="#caveats">Caveats</a>
20+
6. <a href="#contrib">Contributing</a>
21+
22+
<div id="features"></div>
23+
24+
## Features
25+
26+
- Generates nested reports for structured projects/subtasks
27+
- Pretty terminal table output
28+
- CSV export/file dump
1829

1930
<div id="start"></div>
2031

billable.nimble

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Package
22

3-
version = "0.2.0"
3+
version = "0.2.1"
44
author = "Trevor Richards <[email protected]>"
55
description = "timew-billable"
66
license = "GPL3"
@@ -11,5 +11,5 @@ srcDir = "src"
1111
requires "nim >= 1.6.6 & < 2.0",
1212
"csvtools >= 0.2.1 & < 1.0",
1313
"jsony >= 1.1.3 & < 2.0",
14-
"nancy >= 0.1.0 & < 1.0",
14+
"nancy >= 0.1.1 & < 1.0",
1515
"termstyle >= 0.1.0 & < 1.0"

screenshot.png

15.3 KB
Loading

src/billable.nim

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,6 @@ proc nestedTerminalRows(
158158
]
159159
tt.nestedTerminalRows(row.subtasks, level + 1)
160160

161-
template printSeparator(position: untyped): untyped =
162-
## Copied from nancy.printSeparator as it is currently not exported.
163-
stdout.write seps.`position Left`
164-
for i, size in sizes:
165-
stdout.write seps.horizontal.repeat(size + 2)
166-
if i != sizes.high:
167-
stdout.write seps.`position Middle`
168-
else:
169-
stdout.write seps.`position Right` & "\n"
170-
171161
proc echoBillableTable(
172162
table: TerminalTable, maxSize = terminalWidth(), seps = boxSeps
173163
) =

0 commit comments

Comments
 (0)