@helloao/cli 0.0.12 → 0.0.14
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 +24 -20
- package/dist/cjs/cli.cjs +1656 -2218
- package/dist/cjs/index.cjs +1793 -2400
- package/dist/esm/index.js +947 -202
- package/dist/esm/index.js.map +4 -4
- package/dist/types/actions.d.ts +61 -7
- package/dist/types/conversion.d.ts +13 -0
- package/dist/types/db.d.ts +8 -4
- package/dist/types/downloads.d.ts +12 -0
- package/dist/types/ebible.d.ts +6 -0
- package/meta/ARBNAV.json +10 -0
- package/meta/BSB.json +10 -0
- package/meta/HBOMAS.json +10 -0
- package/meta/HINIRV.json +10 -0
- package/meta/eng_dra.json +10 -0
- package/migrations/20250212175023_add_ebible_sources/migration.sql +24 -0
- package/migrations/20250212183533_add_usfm_download_date/migration.sql +39 -0
- package/migrations/20250212193627_add_usfm_download_path/migration.sql +2 -0
- package/migrations/20250625201152_add_extra_ebible_metadata/migration.sql +3 -0
- package/migrations/20250630200532_add_apocryhpa_flag/migration.sql +2 -0
- package/migrations/20250701195337_add_file_warnings/migration.sql +8 -0
- package/package.json +6 -3
- package/prisma-gen/edge.js +41 -4
- package/prisma-gen/index-browser.js +38 -0
- package/prisma-gen/index.d.ts +3416 -334
- package/prisma-gen/index.js +41 -4
- package/prisma-gen/wasm.js +38 -0
- package/schema.prisma +61 -0
package/README.md
CHANGED
|
@@ -19,28 +19,32 @@ Usage: helloao [options] [command]
|
|
|
19
19
|
A CLI for managing a Free Use Bible API.
|
|
20
20
|
|
|
21
21
|
Options:
|
|
22
|
-
-V, --version
|
|
23
|
-
-h, --help
|
|
22
|
+
-V, --version output the version number
|
|
23
|
+
-h, --help display help for command
|
|
24
24
|
|
|
25
25
|
Commands:
|
|
26
|
-
init [options] [path]
|
|
27
|
-
generate-translation-metadata
|
|
28
|
-
import-translation [options] <dir> [dirs...]
|
|
29
|
-
import-translations [options] <dir>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
26
|
+
init [options] [path] Initialize a new Bible API DB.
|
|
27
|
+
generate-translation-metadata Generates a metadata file for a translation.
|
|
28
|
+
import-translation [options] <dir> [dirs...] Imports a translation from the given directory into the database.
|
|
29
|
+
import-translations [options] <dir> Imports all translations from the given directory into the database.
|
|
30
|
+
import-commentary [options] <dir> [dirs...] Imports a commentary from the given directory into the database.
|
|
31
|
+
import-commentaries [options] <dir> Imports all commentaries from the given directory into the database.
|
|
32
|
+
upload-test-translation [options] <input> Uploads a translation to the HelloAO Free Bible API test S3 bucket.
|
|
33
|
+
Requires access to the HelloAO Free Bible API test S3 bucket.
|
|
34
|
+
For inquiries, please contact hello@helloao.org.
|
|
35
|
+
upload-test-translations [options] <input> Uploads all the translations in the given input directory to the HelloAO Free Bible API test S3 bucket.
|
|
36
|
+
Requires access to the HelloAO Free Bible API test S3 bucket.
|
|
37
|
+
For inquiries, please contact hello@helloao.org.
|
|
38
|
+
generate-translation-files [options] <input> <dir> Generates API files from the given input translation.
|
|
39
|
+
generate-translations-files [options] <input> <dir> Generates API files from the given input translations.
|
|
40
|
+
upload-api-files [options] <dest> Uploads API files to the specified destination. For S3, use the format s3://bucket-name/path/to/folder.
|
|
41
|
+
source-translations [options] <dir> [translations...] Finds translation sources from ebible.org and downloads it.
|
|
42
|
+
list-ebible-translations [search] List available eBible translations. Optionally filter by search term.
|
|
43
|
+
fetch-audio [options] <dir> [translations...] Fetches the specified audio translations and places them in the given directory.
|
|
44
|
+
Translations should be in the format "translationId/audioId". e.g. "BSB/gilbert"
|
|
45
|
+
fetch-bible-metadata <dir> Fetches the Theographic bible metadata and places it in the given directory.
|
|
46
|
+
fetch-tyndale-open-resources <dir> Fetches the Tyndale Open Bible Resources and places it in the given directory.
|
|
47
|
+
help [command] display help for command
|
|
44
48
|
```
|
|
45
49
|
|
|
46
50
|
The `@helloao/cli` package can also be used as a library.
|