@letterapp/cli 0.4.0 → 0.4.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/index.js +1 -1
- package/package.json +2 -1
package/dist/index.js
CHANGED
|
@@ -1729,7 +1729,7 @@ function registerResourceCommands(program2) {
|
|
|
1729
1729
|
|
|
1730
1730
|
// src/index.ts
|
|
1731
1731
|
var program = new Command();
|
|
1732
|
-
program.name("letter").description("Connect your app to Letter, then manage it from the command line").version("0.
|
|
1732
|
+
program.name("letter").description("Connect your app to Letter, then manage it from the command line").version("0.4.1").option("--json", "Output raw JSON (for scripting / agents)").hook("preAction", (thisCommand) => {
|
|
1733
1733
|
if (thisCommand.opts().json) setJsonMode(true);
|
|
1734
1734
|
});
|
|
1735
1735
|
registerLoginCommand(program);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@letterapp/cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Letter CLI - connect your app to Letter in one command. Interactive, secure device login: no API key ever touches your shell or chat.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://letter.app",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"scripts": {
|
|
40
40
|
"dev": "tsup --watch",
|
|
41
41
|
"build": "tsup",
|
|
42
|
+
"prepublishOnly": "npm run build",
|
|
42
43
|
"start": "node dist/index.js",
|
|
43
44
|
"typecheck": "tsc --noEmit",
|
|
44
45
|
"smoke:cli": "node scripts/smoke-cli.mjs"
|