pixelkiln 0.1.0

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/cli.d.ts ADDED
@@ -0,0 +1,47 @@
1
+ #!/usr/bin/env node
2
+ type TilesetFormat = "generic" | "tiled" | "godot";
3
+
4
+ interface Args {
5
+ command: string;
6
+ manifest: string;
7
+ lock: string;
8
+ styles: string[];
9
+ assets: string[];
10
+ force: boolean;
11
+ yes: boolean;
12
+ budget?: number;
13
+ dryRun: boolean;
14
+ all: boolean;
15
+ json: boolean;
16
+ check: boolean;
17
+ noOpen: boolean;
18
+ tag: boolean;
19
+ from?: string;
20
+ out?: string;
21
+ generator?: string;
22
+ exclude: string[];
23
+ name?: string;
24
+ writePrompts: boolean;
25
+ columns?: number;
26
+ port?: number;
27
+ inputs?: string;
28
+ claims: string[];
29
+ format?: TilesetFormat;
30
+ outputRoles: string[];
31
+ primaryOnly: boolean;
32
+ prune: boolean;
33
+ maxDistance?: number;
34
+ minTransparency?: number;
35
+ maxColors?: number;
36
+ sigma?: number;
37
+ }
38
+ declare const COMMANDS: readonly ["init", "plan", "doctor", "gen", "submit", "poll", "pick", "fetch", "restore", "adopt", "accept", "salvage", "purge", "prune", "audit", "cache", "pack", "mount", "export", "tag", "balance", "status", "help", "--help", "-h", "--version", "-v"];
39
+ /**
40
+ * Strict parsing. Unknown flags are a hard error rather than being ignored,
41
+ * because a silently-dropped filter is expensive here: `--styles neon` (plural,
42
+ * a typo) would otherwise fall through to "no filter" and generate the entire
43
+ * manifest instead of one style.
44
+ */
45
+ declare function parseArgs(argv: string[]): Args;
46
+
47
+ export { COMMANDS, parseArgs };