@drupal-canvas/cli 0.5.1 → 0.6.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/README.md CHANGED
@@ -66,13 +66,8 @@ npx canvas download [options]
66
66
  - `--all`: Download all components
67
67
  - `-y, --yes`: Skip all confirmation prompts (non-interactive mode)
68
68
  - `--skip-overwrite`: Skip downloading components that already exist locally
69
- - `--skip-css`: Skip global CSS download
70
- - `--css-only`: Download only global CSS (skip components)
71
69
 
72
- **Notes:**
73
-
74
- - `--components` and `--all` cannot be used together
75
- - `--skip-css` and `--css-only` cannot be used together
70
+ **Note:** `--components` and `--all` cannot be used together.
76
71
 
77
72
  **About prompts:**
78
73
 
@@ -123,25 +118,12 @@ Fully non-interactive, only download new components:
123
118
  npx canvas download --all --yes --skip-overwrite
124
119
  ```
125
120
 
126
- Download components without global CSS:
127
-
128
- ```bash
129
- npx canvas download --all --skip-css
130
- ```
131
-
132
- Download only global CSS (skip components):
133
-
134
- ```bash
135
- npx canvas download --css-only
136
- ```
137
-
138
121
  Downloads one or more components from your site. You can select components
139
122
  interactively, specify them with `--components`, or use `--all` to download
140
123
  everything. By default, existing component directories will be overwritten after
141
124
  confirmation. Use `--yes` for non-interactive mode (suitable for CI/CD), or
142
- `--skip-overwrite` to preserve existing components. Global CSS assets are
143
- downloaded by default and can be controlled with `--skip-css` to exclude them or
144
- `--css-only` to download only CSS without components.
125
+ `--skip-overwrite` to preserve existing components. Also downloads global CSS
126
+ assets if available.
145
127
 
146
128
  ---
147
129
 
@@ -245,13 +227,8 @@ npx canvas upload [options]
245
227
  - `--all`: Upload all components in the directory
246
228
  - `-y, --yes`: Skip confirmation prompts (non-interactive mode)
247
229
  - `--no-tailwind`: Skip Tailwind CSS build and global asset upload
248
- - `--skip-css`: Skip global CSS upload
249
- - `--css-only`: Upload only global CSS (skip components)
250
230
 
251
- **Notes:**
252
-
253
- - `--components` and `--all` cannot be used together
254
- - `--skip-css` and `--css-only` cannot be used together
231
+ **Note:** `--components` and `--all` cannot be used together.
255
232
 
256
233
  **Examples:**
257
234
 
@@ -291,23 +268,10 @@ CI/CD without Tailwind:
291
268
  npx canvas upload --all --yes --no-tailwind
292
269
  ```
293
270
 
294
- Upload components without global CSS:
295
-
296
- ```bash
297
- npx canvas upload --all --skip-css
298
- ```
299
-
300
- Upload only global CSS (skip components):
301
-
302
- ```bash
303
- npx canvas upload --css-only
304
- ```
305
-
306
271
  Builds and uploads the selected (or all) local components to your site. Also
307
272
  builds and uploads global Tailwind CSS assets unless `--no-tailwind` is
308
- specified. Global CSS upload can be controlled with `--skip-css` to exclude it
309
- or `--css-only` to upload only CSS without components. Existing components on
310
- the site will be updated if they already exist.
273
+ specified. Existing components on the site will be updated if they already
274
+ exist.
311
275
 
312
276
  ---
313
277