@craftrpgs/cli 0.1.1 → 0.1.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 +7 -4
- package/dist/bin.js +38286 -19536
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,8 +19,9 @@ craft push -m "first pass at the heroes"
|
|
|
19
19
|
A cloned project is a plain folder of files: markdown with frontmatter for
|
|
20
20
|
notes and JSON for typed records (`aragorn.character.json`), organized in
|
|
21
21
|
real directories that mirror the project's folders. `.craft/` holds the sync
|
|
22
|
-
state — leave it alone. `AGENTS.md` / `CLAUDE.md` and
|
|
23
|
-
|
|
22
|
+
state — leave it alone. `AGENTS.md` / `CLAUDE.md` and matching skills under
|
|
23
|
+
`.agents/skills/` / `.claude/skills/` are included so Codex and Claude Code
|
|
24
|
+
know how to work with the project the moment you open it.
|
|
24
25
|
|
|
25
26
|
## Commands
|
|
26
27
|
|
|
@@ -31,14 +32,16 @@ so coding agents know how to work with the project the moment you open it.
|
|
|
31
32
|
| `craft clone <idOrUrl>` | Download a project as a local workspace |
|
|
32
33
|
| `craft projects` | List projects your account owns |
|
|
33
34
|
| `craft status` / `diff` | Show local changes (add `--remote` for drift) |
|
|
34
|
-
| `craft check` |
|
|
35
|
+
| `craft check` | Validate the workspace locally (the same checks the server runs at push) |
|
|
36
|
+
| `craft project-completeness` | Worldbuilding completeness report (recommendations; always exits 0) |
|
|
35
37
|
| `craft pull` | Apply remote changes; conflicts become sidecar files |
|
|
36
38
|
| `craft push [path ...] -m "..."` | Send local changes as one transactional batch (optional pathspecs — file paths or directory prefixes — scope it) |
|
|
37
39
|
| `craft log <path>` | A file's version history |
|
|
38
40
|
| `craft publish -m "..."` | Snapshot the server state as a numbered release |
|
|
39
41
|
| `craft mv <from> <to>` | Rename/move a file, keeping its identity |
|
|
40
42
|
| `craft type new <Name>` | Author a new file type locally |
|
|
41
|
-
| `craft image generate/upload` | Generate (opt-in in Settings) or upload images |
|
|
43
|
+
| `craft image generate/upload` | Generate (including local or workspace reference images; opt-in in Settings) or upload images |
|
|
44
|
+
| `craft image expressions/cutouts` | Preflight and persist character expression or cutout assets |
|
|
42
45
|
| `craft env [name]` | Show or pin the environment for a directory |
|
|
43
46
|
|
|
44
47
|
Every command takes `--json` for machine-readable output. Auth is via
|