@preply/ds-ai-cli 11.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/AGENTS.md ADDED
@@ -0,0 +1,7 @@
1
+ # Agents: ai-cli
2
+
3
+ This package exposes all `@preply/ds-ai-core` tools as CLI subcommands via Commander.
4
+
5
+ ## Keep in sync
6
+
7
+ When adding, removing, or changing CLI commands (arguments, options, descriptions), update the consumer-facing agent skill at `skills/design-system/SKILL.md` to reflect the new command syntax.
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # `@preply/ds-ai-cli`
2
+
3
+ > CLI for querying the Preply Design System (icons, tokens, components).
4
+
5
+ Exposes all AI tools from [`@preply/ds-ai-core`](../ai-core/README.md) as terminal subcommands via [Commander](https://github.com/tj/commander.js) + [zod-commander](https://github.com/because-kira/zod-commander).
6
+
7
+ ## Usage
8
+
9
+ ```bash
10
+ npx @preply/ds-ai-cli <command> [options]
11
+ ```
12
+
13
+ ### Commands
14
+
15
+ ```
16
+ ds-ai components list --platform <web|react-native>
17
+ ds-ai components docs <name> --platform <web|react-native>
18
+ ds-ai icons search <name> --platform <web|react-native>
19
+ ds-ai tokens search-by-name <name> --platform <web|react-native> [--format scss|less|typescript]
20
+ ds-ai tokens search-by-value <value> --platform <web|react-native> [--format scss|less|typescript]
21
+ ```
22
+
23
+ ## Development
24
+
25
+ ```bash
26
+ yarn build # Build the package
27
+ yarn dev # Build in watch mode
28
+ yarn check:types # Type-check
29
+ yarn lint # Lint
30
+ ```
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=create-command.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-command.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/create-command.test.ts"],"names":[],"mappings":""}
package/dist/bin.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=bin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../src/bin.ts"],"names":[],"mappings":""}