We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca6bf33 commit 9f17028Copy full SHA for 9f17028
packages/base-cli/README.md
@@ -1,3 +1,20 @@
1
# PostCSS Base Plugin [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss]
2
3
-<!-- TODO -->
+```ts
4
+import plugin from '@csstools/postcss-base-plugin';
5
+import { cli, helpTextLogger } from '@csstools/base-cli';
6
+
7
+cli(
8
+ plugin,
9
+ ['color', 'another_option'],
10
+ helpTextLogger(
11
+ 'postcss-base-plugin-cli',
12
+ 'Base Plugin',
13
+ 'An example plugin CLI',
14
+ {
15
+ color: 'A CSS color',
16
+ another_option: true,
17
+ },
18
+ ),
19
+);
20
+```
0 commit comments