@plitzi/cli 0.38.8 → 0.38.9
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/CHANGELOG.md +64 -0
- package/README.md +13 -6
- package/dist/index.js +401 -117
- package/package.json +3 -3
- package/skills/plitzi-cli/SKILL.md +10 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plitzi/cli",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.9",
|
|
4
4
|
"license": "AGPL-3.0",
|
|
5
5
|
"description": "Command line for Plitzi: scaffold a project that renders a space, a plugin package, or an element of your own.",
|
|
6
6
|
"files": [
|
|
@@ -21,14 +21,14 @@
|
|
|
21
21
|
},
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@plitzi/sdk-authoring": "0.38.
|
|
24
|
+
"@plitzi/sdk-authoring": "0.38.9",
|
|
25
25
|
"chalk": "^6.0.1",
|
|
26
26
|
"commander": "^15.0.0",
|
|
27
27
|
"esbuild": "^0.28.2",
|
|
28
28
|
"fflate": "^0.8.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@plitzi/sdk-shared": "0.38.
|
|
31
|
+
"@plitzi/sdk-shared": "0.38.9",
|
|
32
32
|
"@types/node": "^26.6.4",
|
|
33
33
|
"eslint": "^9.39.5",
|
|
34
34
|
"eslint-plugin-import": "^2.32.0",
|
|
@@ -4,9 +4,11 @@ description: >-
|
|
|
4
4
|
Use the Plitzi command line (@plitzi/cli, `plitzi …` or `npx @plitzi/cli …`) instead of hand-writing what it
|
|
5
5
|
generates: scaffold a project that renders a space, add plugins to it or build a plugin package, pack, upload and
|
|
6
6
|
install one, edit a space's functions, take a space on Plitzi out as a self-hosted project and back (`create --from`,
|
|
7
|
-
`space pull`, `space push`),
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
`space pull`, `space push`), check a project (`doctor`) or how its space's source is written (`space lint`), and
|
|
8
|
+
write a report to Plitzi of what broke, misled or cost time (`feedback`). Use whenever the task is to start a Plitzi
|
|
9
|
+
project, create or change a plugin, pack, upload or install one, pull/push/try a space's functions, move a space to a
|
|
10
|
+
server of its own and back, work out which space the CLI is connected to — or when the person asks for a report,
|
|
11
|
+
feedback or a list of what went wrong with Plitzi.
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
# The Plitzi CLI
|
|
@@ -31,11 +33,15 @@ npx plitzi feedback # a report to Plitzi, for the pe
|
|
|
31
33
|
## Running it as an agent
|
|
32
34
|
|
|
33
35
|
- **Which check.** All of it before you finish: `verify` — only what fails is printed. The space alone: `npm run
|
|
34
|
-
author`; a page: `page check`. The project around them: `doctor`, before `space push`.
|
|
36
|
+
author`; a page: `page check`. The project around them: `doctor`, before `space push`. Pages for signed-in visitors
|
|
37
|
+
are checked as the account `.env` names (`PLITZI_CHECK_USER`, `PLITZI_CHECK_PASSWORD`); `verify` says when none is.
|
|
35
38
|
- **`create` never decides for the person.** With nobody at the terminal it writes nothing and prints each choice as a
|
|
36
39
|
question: ask the user, then run again with their answers as flags. Never guess them.
|
|
37
40
|
- **Signing in happens in the browser** (`login`, `space use`, a first `plugin upload`): tell the person a tab is waiting.
|
|
38
41
|
- **One space at a time** — the one `whoami --json` names; `plitzi space use` switches it.
|
|
42
|
+
- **A report to Plitzi** — the person asks for a report, feedback, the bugs found or what cost time: `npx plitzi
|
|
43
|
+
feedback` (`--previous <link>` continues an earlier one). It reads the versions and `doctor` itself and writes the
|
|
44
|
+
page; fill it and publish it as its brief says, rather than a report of your own making.
|
|
39
45
|
- **Read stdout, exit code and stderr apart.** The answer is on stdout (`--json`: one line); exit 1 means it did not do
|
|
40
46
|
what was asked. A refusal says what to change: change it — the same refusal twice says to stop and ask.
|
|
41
47
|
|