@craftrpgs/cli 0.1.7 → 0.1.8

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.
Files changed (3) hide show
  1. package/README.md +19 -0
  2. package/dist/bin.js +3588 -1278
  3. package/package.json +3 -3
package/README.md CHANGED
@@ -44,6 +44,7 @@ know how to work with the project the moment you open it.
44
44
  | `craft type new <Name>` | Author a new file type locally |
45
45
  | `craft image generate/upload` | Generate (including local or workspace reference images; opt-in in Settings) or upload images |
46
46
  | `craft image expressions/cutouts` | Preflight and persist character expression or cutout assets |
47
+ | `craft vn create/pull/push/publish` | Write visual novels: pull a story to one JSON file, edit it, push it back, publish it for readers (`craft help vn`) |
47
48
 
48
49
  Every command takes `--json` for machine-readable output. Auth is via
49
50
  `craft login` (browser OAuth); credentials are stored locally and refreshed
@@ -51,6 +52,24 @@ automatically.
51
52
 
52
53
  Run `craft help <command>` for details on any of them.
53
54
 
55
+ ## Visual novels
56
+
57
+ A visual novel is a paged story readers click through: a backdrop, a text
58
+ box, and the speaker's cutout on the stage. Each story is one JSON document,
59
+ so it syncs as a single file rather than with the workspace:
60
+
61
+ ```sh
62
+ craft vn create "Lanterns Over Kestrel Bay" # in this workspace's project
63
+ # edit .craft/visual-novels/lanterns-over-kestrel-bay.vn.json, then:
64
+ craft vn check .craft/visual-novels/lanterns-over-kestrel-bay.vn.json
65
+ craft vn push .craft/visual-novels/lanterns-over-kestrel-bay.vn.json
66
+ craft vn publish .craft/visual-novels/lanterns-over-kestrel-bay.vn.json --unlisted
67
+ ```
68
+
69
+ `craft vn assets <file>` prints the project's cast and backdrops and your
70
+ studio music as entries ready to paste into the story. Inside a workspace,
71
+ `.craft/instructions/authoring-visual-novels.md` documents the format.
72
+
54
73
  ## Staying up to date
55
74
 
56
75
  The server only accepts the latest published version of the CLI. When a