@shortwind/cli 0.1.0-beta.0 → 0.1.0-beta.10

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 ADDED
@@ -0,0 +1,32 @@
1
+ # @shortwind/cli
2
+
3
+ The Shortwind command-line tool. Provides the `shortwind` command: `init`, `add`, `remove`, `upgrade`, `dev`, `build`, `lint`, `ls`, `preset`, `bench`.
4
+
5
+ [Shortwind](https://shortwind.dev) is a token-efficient class layer for Tailwind: you write short `@recipe` names in `class=`/`className=` and they expand to full Tailwind class clusters at build time.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npx @shortwind/cli@beta init # beta: published on the `beta` tag
11
+ ```
12
+
13
+ `init` is the one command you need — it detects your bundler, installs the right adapter, copies the recipe catalog into `./recipes/`, scaffolds a default theme, wires the plugin into your config, and generates `skills/shortwind/SKILL.md`.
14
+
15
+ Install it to get the `shortwind` command in scripts:
16
+
17
+ ```bash
18
+ npm i -D @shortwind/cli@beta
19
+ ```
20
+
21
+ ## Common commands
22
+
23
+ ```bash
24
+ shortwind init --preset app # starter | app | content | all | none
25
+ shortwind add table dialog # add families on demand
26
+ shortwind dev # watch recipes/, regenerate SKILL.md
27
+ shortwind build # one-shot regenerate SKILL.md
28
+ shortwind lint # validate recipe usage, naming, conflicts
29
+ shortwind bench # measure token savings
30
+ ```
31
+
32
+ Docs: <https://shortwind.dev>