@billionaire-sh/cli 0.1.0 → 0.3.0
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.
- package/README.md +36 -3
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -94,10 +94,43 @@ billionaire charts account skr-04 "innergemeinschaftlichem Erwerb"
|
|
|
94
94
|
# For scripts and hooks: exit 1 unless every number is an active account.
|
|
95
95
|
billionaire charts account skr-03 4930 1574 --check
|
|
96
96
|
|
|
97
|
-
#
|
|
97
|
+
# A chart is published anew from time to time. Without more, the newest
|
|
98
|
+
# edition answers; ask a named edition, or the one valid on a day — the
|
|
99
|
+
# edition a booking of that day stands on. A day before a chart's first
|
|
100
|
+
# edition answers with an error: a later edition does not stand in.
|
|
101
|
+
billionaire charts account skr-03 4930 --edition 2026
|
|
102
|
+
billionaire charts account skr-03 4930 --on 2026-03-31
|
|
103
|
+
|
|
104
|
+
# Which charts, which editions, valid from when, from which publication?
|
|
98
105
|
billionaire charts list
|
|
99
106
|
```
|
|
100
107
|
|
|
108
|
+
An edition's data is produced from its source documents by a parser
|
|
109
|
+
(`libs/billionaire/charts/python`). Inside a checkout of the repository:
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
# Write the edition's printed.json from the documents in its source/ folder.
|
|
113
|
+
billionaire charts parse skr-03 2026
|
|
114
|
+
|
|
115
|
+
# Exit 1 unless the checked-in printed.json is exactly what the parser gives.
|
|
116
|
+
billionaire charts check skr-03 2026
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Both run the parser package in the repository's uv workspace; the installed
|
|
120
|
+
CLI outside a checkout answers that the documents are in the repository.
|
|
121
|
+
|
|
122
|
+
What becomes of each account from one edition to the next is derived from
|
|
123
|
+
the editions' files and checked in as a lock
|
|
124
|
+
(`libs/billionaire/charts/README.md`, "Succession"):
|
|
125
|
+
|
|
126
|
+
```sh
|
|
127
|
+
# Write every succession lock and each chart line's CHANGES.md.
|
|
128
|
+
billionaire charts lock
|
|
129
|
+
|
|
130
|
+
# Exit 1 unless every checked-in lock is exactly what the derivation gives.
|
|
131
|
+
billionaire charts lock --check
|
|
132
|
+
```
|
|
133
|
+
|
|
101
134
|
A number answers with one of:
|
|
102
135
|
|
|
103
136
|
| `status` | Meaning |
|
|
@@ -110,8 +143,8 @@ A number answers with one of:
|
|
|
110
143
|
### Where the data comes from
|
|
111
144
|
|
|
112
145
|
The charts are inlined at build time from the ONE place the platform keeps
|
|
113
|
-
them — `
|
|
114
|
-
|
|
146
|
+
them — the library `libs/billionaire/charts` (`editions/<provider>/<chart>/<edition>/`: what the source prints and what
|
|
147
|
+
we decide, beside the source PDFs), taken from the DATEV Kontenrahmen named in
|
|
115
148
|
each file's `edition`. The app's database (account templates, account
|
|
116
149
|
rules, taxonomy positions) is seeded from the same files. The CLI holds no
|
|
117
150
|
copy and no number of its own.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@billionaire-sh/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Agent-friendly command-line interface for the billionaire platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -25,9 +25,10 @@
|
|
|
25
25
|
"tsx": "^4.19.2",
|
|
26
26
|
"typescript": "^5.9.3",
|
|
27
27
|
"vitest": "^4.1.7",
|
|
28
|
-
"@
|
|
29
|
-
"@kolaveri/eslint-config": "1.
|
|
30
|
-
"@kolaveri/tsconfig": "1.0.1"
|
|
28
|
+
"@billionaire/charts": "0.3.0",
|
|
29
|
+
"@kolaveri/eslint-config": "1.27.0",
|
|
30
|
+
"@kolaveri/tsconfig": "1.0.1",
|
|
31
|
+
"@kolaveri/prettier-config": "1.0.6"
|
|
31
32
|
},
|
|
32
33
|
"prettier": "@kolaveri/prettier-config",
|
|
33
34
|
"scripts": {
|