-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathoclis.ncl
122 lines (122 loc) · 2.83 KB
/
oclis.ncl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
let journalArgs = [
{
name = "JOURNAL",
description = "Path to the journal file",
type = 'Text,
},
{
name = "JOURNAL",
description = "Additional journal files",
type = 'List-Text,
"optional" = true,
},
]
in
{
name = "transity",
description = m%"
Transity is a full fledged, CLI based, plain text accounting tool.
"%,
version = "0.8.0",
funcName = "runApp",
commands = [
{
name = "balance",
description = "Simple balance of the owner's accounts",
arguments = journalArgs,
},
{
name = "balance-all",
description = "Simple balance of all accounts",
arguments = journalArgs,
},
{
name = "transactions",
description = "All transactions and their transfers",
arguments = journalArgs,
},
{
name = "transfers",
description = "All transfers with one transfer per line",
arguments = journalArgs,
},
{
name = "entries",
description = m%"
All individual deposits & withdrawals, space separated
"%,
arguments = journalArgs,
},
{
name = "entities",
description = "[WIP] List all referenced entities",
arguments = journalArgs,
},
{
name = "entities-sorted",
description = m%"
[WIP] List all referenced entities sorted alphabetically
"%,
arguments = journalArgs,
},
{
name = "ledger-entries",
description = "All entries in Ledger format",
arguments = journalArgs,
},
{
name = "csv",
description = "Transfers, comma separated (printed to stdout)",
arguments = journalArgs,
},
{
name = "tsv",
description = "Transfers, tab separated (printed to stdout)",
arguments = journalArgs,
},
{
name = "xlsx",
description = "XLSX file with all transfers (printed to stdout)",
arguments = journalArgs,
},
{
name = "entries-by-account",
description = m%"
All individual deposits & withdrawals, grouped by account
"%,
arguments = journalArgs,
},
{
name = "gplot",
description = m%"
Code and data for gnuplot impulse diagram
to visualize transfers of all accounts
"%,
arguments = journalArgs,
},
{
name = "gplot-cumul",
description = m%"
Code and data for cumuluative gnuplot step chart
to visualize balance of all accounts
"%,
arguments = journalArgs,
},
{
name = "unused-files",
description = m%"
Recursively list all files in a directory
which are not referenced in the journal
"%,
arguments =
[
{
name = "DIRECTORY",
description = "Path to the directory",
type = 'Text,
},
]
@ journalArgs,
},
]
}