@patterkit/cli 0.4.0 → 0.5.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/README.md +11 -0
- package/dist/cli.js +266 -195
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -157,6 +157,17 @@ patter stats --xlsx report.xlsx
|
|
|
157
157
|
patter report --json | jq '.totals'
|
|
158
158
|
```
|
|
159
159
|
|
|
160
|
+
### `patter share-scopes [path] [--at <dir>]`
|
|
161
|
+
|
|
162
|
+
Share the project's scopes with the game's other editing tools, as Patterpad's **File > Share Scopes
|
|
163
|
+
with Other Tools** does: makes the game's `game-scopes/` folder (in `--at`, else at the
|
|
164
|
+
version-control root above the project, else beside it) with `patter.scopes.json` and a
|
|
165
|
+
`game.scopes.json` holding the project's own game scopes (its World properties), which the project
|
|
166
|
+
keeps as its synced copy. A folder another tool already made is joined, not replaced: its
|
|
167
|
+
`game.scopes.json` keeps every scope it holds and gains only the ones it lacks. When looking up from
|
|
168
|
+
the project wouldn't find the folder, the project names it in `gameScopes`. A project that already
|
|
169
|
+
shares its scopes is refused.
|
|
170
|
+
|
|
160
171
|
### `patter pack [path] -o <file.patterpack>`
|
|
161
172
|
|
|
162
173
|
Pack a project (the `.patter` folder) into a single portable **`.patterpack`** - a
|