@neopress/cli 0.2.0 → 0.2.1
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/dist/bin.cjs +1 -1
- package/package.json +2 -2
package/dist/bin.cjs
CHANGED
|
@@ -4920,7 +4920,7 @@ function registerTemplateCommands(program3) {
|
|
|
4920
4920
|
|
|
4921
4921
|
// src/bin.ts
|
|
4922
4922
|
var program2 = new Command();
|
|
4923
|
-
program2.name("neopress").description("Neopress CLI \u2014 manage your site from the terminal").version("0.1
|
|
4923
|
+
program2.name("neopress").description("Neopress CLI \u2014 manage your site from the terminal").version("0.2.1").option("--json", "Output in JSON format (for AI tools and pipes)").option("--no-input", "Non-interactive mode").hook("preAction", (thisCommand) => {
|
|
4924
4924
|
const opts = thisCommand.optsWithGlobals();
|
|
4925
4925
|
if (opts.json) setJsonMode(true);
|
|
4926
4926
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neopress/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Neopress CLI — manage your Neopress site from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"commander": "^13.0.0",
|
|
20
20
|
"tsup": "^8.5.1",
|
|
21
21
|
"typescript": "^5.7.0",
|
|
22
|
-
"@neopress/sdk": "0.
|
|
22
|
+
"@neopress/sdk": "0.1.0"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build": "tsup",
|