a16n 0.11.0 → 0.11.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/dist/index.d.ts CHANGED
@@ -1,3 +1,17 @@
1
1
  #!/usr/bin/env node
2
- export {};
2
+ import { Command } from 'commander';
3
+ import { A16nEngine } from '@a16njs/engine';
4
+ /**
5
+ * Create the CLI program with all commands and options.
6
+ *
7
+ * Accepts an engine instance (or null for structure-only usage such as
8
+ * documentation generation). When engine is null, the program can still
9
+ * be inspected for its command/option structure, but actions that call
10
+ * engine methods will fail at runtime — which is fine since actions are
11
+ * never invoked during doc generation.
12
+ *
13
+ * @param engine - A16nEngine instance, or null for structure-only usage
14
+ * @returns Configured Commander program
15
+ */
16
+ export declare function createProgram(engine: A16nEngine | null): Command;
3
17
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAMA,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AA8B5C;;;;;;;;;;;GAWG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,GAAG,OAAO,CAypBhE"}