Skip to content

Commit 0eea6f5

Browse files
committed
Upgrade to latest version of Oclis, improve help output
1 parent ef890c7 commit 0eea6f5

File tree

8 files changed

+407
-535
lines changed

8 files changed

+407
-535
lines changed

Diff for: oclis.json

-286
This file was deleted.

Diff for: oclis.ncl

+4-13
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
let journalArgs = [
22
{
3-
name = "JOURNAL_FILE",
3+
name = "JOURNAL",
44
description = "Path to the journal file",
55
type = 'Text,
66
},
77
{
8-
name = "JOURNAL_FILE",
8+
name = "JOURNAL",
99
description = "Additional journal files",
1010
type = 'List-Text,
11+
"optional" = true,
1112
},
1213
]
1314
in
1415
{
1516
name = "transity",
1617
description = m%"
17-
Transity is a full fledged, CLI based plain text accounting tool.
18+
Transity is a full fledged, CLI based, plain text accounting tool.
1819
"%,
1920
version = "0.8.0",
2021
funcName = "runApp",
@@ -117,15 +118,5 @@ in
117118
]
118119
@ journalArgs,
119120
},
120-
{
121-
name = "help",
122-
description = "Print this help dialog",
123-
arguments = journalArgs,
124-
},
125-
{
126-
name = "version",
127-
description = "Print currently used version",
128-
arguments = journalArgs,
129-
},
130121
]
131122
}

0 commit comments

Comments
 (0)