document-cli 1.2.1 → 1.2.2
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 +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://github.com/ExaDev/document-cli) [](https://www.npmjs.com/package/document-cli) [](https://github.com/ExaDev/document-cli/releases/latest) [](https://github.com/ExaDev/document-cli/actions)
|
|
4
4
|
|
|
5
|
-
> A command-line interface and an interactive terminal (Ink) app for [`documents.js`](https://github.com/ExaDev/documents.js): every docx/pptx/odt/odp/ods/odg/odf/odm/odb conversion, bridge, and editor documents.js exposes, wired up as a scriptable subcommand or a full-screen terminal editor. Installs as either `document-cli` or `doculi`.
|
|
5
|
+
> A command-line interface and an interactive terminal (Ink) app for [`documents.js`](https://github.com/ExaDev/documents.js): every docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/markdown conversion, bridge, and editor documents.js exposes, wired up as a scriptable subcommand or a full-screen terminal editor. Installs as either `document-cli` or `doculi`.
|
|
6
6
|
|
|
7
7
|
`document-cli` adds no conversion or editing logic of its own — it is a dispatch layer over `documents.js`'s existing conversion functions, `DocumentConverter` port, live-view editors, and `.odb`/PDF readers. What it adds is two ways to drive them without writing TypeScript: a scriptable, Unix-shaped CLI (stdin/stdout, exit codes, `--json` diagnostics) for pipelines, and a full-screen Ink terminal app for browsing and editing a document interactively.
|
|
8
8
|
|
package/dist/cli.js
CHANGED
|
@@ -744,12 +744,12 @@ function registerPdfInspectCommand(program) {
|
|
|
744
744
|
}
|
|
745
745
|
//#endregion
|
|
746
746
|
//#region package.json
|
|
747
|
-
var version = "1.2.
|
|
747
|
+
var version = "1.2.2";
|
|
748
748
|
//#endregion
|
|
749
749
|
//#region src/program.ts
|
|
750
750
|
function createProgram() {
|
|
751
751
|
const program = new Command("document-cli");
|
|
752
|
-
program.description("every documents.js docx/pptx/odt/odp/ods/odg/odf/odm/odb conversion, bridge, and inspector as a scriptable command");
|
|
752
|
+
program.description("every documents.js docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/markdown conversion, bridge, and inspector as a scriptable command");
|
|
753
753
|
program.version(version);
|
|
754
754
|
program.exitOverride((error) => {
|
|
755
755
|
process.exitCode = error.exitCode === 0 ? 0 : 2;
|
package/dist/index.cjs
CHANGED
|
@@ -1129,12 +1129,12 @@ function registerPdfInspectCommand(program) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
//#endregion
|
|
1131
1131
|
//#region package.json
|
|
1132
|
-
var version = "1.2.
|
|
1132
|
+
var version = "1.2.2";
|
|
1133
1133
|
//#endregion
|
|
1134
1134
|
//#region src/program.ts
|
|
1135
1135
|
function createProgram() {
|
|
1136
1136
|
const program = new commander.Command("document-cli");
|
|
1137
|
-
program.description("every documents.js docx/pptx/odt/odp/ods/odg/odf/odm/odb conversion, bridge, and inspector as a scriptable command");
|
|
1137
|
+
program.description("every documents.js docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/markdown conversion, bridge, and inspector as a scriptable command");
|
|
1138
1138
|
program.version(version);
|
|
1139
1139
|
program.exitOverride((error) => {
|
|
1140
1140
|
process.exitCode = error.exitCode === 0 ? 0 : 2;
|
package/dist/index.js
CHANGED
|
@@ -1128,12 +1128,12 @@ function registerPdfInspectCommand(program) {
|
|
|
1128
1128
|
}
|
|
1129
1129
|
//#endregion
|
|
1130
1130
|
//#region package.json
|
|
1131
|
-
var version = "1.2.
|
|
1131
|
+
var version = "1.2.2";
|
|
1132
1132
|
//#endregion
|
|
1133
1133
|
//#region src/program.ts
|
|
1134
1134
|
function createProgram() {
|
|
1135
1135
|
const program = new Command("document-cli");
|
|
1136
|
-
program.description("every documents.js docx/pptx/odt/odp/ods/odg/odf/odm/odb conversion, bridge, and inspector as a scriptable command");
|
|
1136
|
+
program.description("every documents.js docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/markdown conversion, bridge, and inspector as a scriptable command");
|
|
1137
1137
|
program.version(version);
|
|
1138
1138
|
program.exitOverride((error) => {
|
|
1139
1139
|
process.exitCode = error.exitCode === 0 ? 0 : 2;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "document-cli",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "CLI and interactive Ink TUI for documents.js: every docx/pptx/odt/odp/ods/odg/odf/odm/odb conversion, bridge, and editor as a scriptable command or a terminal app.",
|
|
3
|
+
"version": "1.2.2",
|
|
4
|
+
"description": "CLI and interactive Ink TUI for documents.js: every docx/pptx/odt/odp/ods/odg/odf/pdf/odm/odb/xlsx/markdown conversion, bridge, and editor as a scriptable command or a terminal app.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|