Skip to content

Commit 9f17028

Browse files
committed
update README.md
1 parent ca6bf33 commit 9f17028

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

packages/base-cli/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
11
# PostCSS Base Plugin [<img src="https://postcss.github.io/postcss/logo.svg" alt="PostCSS Logo" width="90" height="90" align="right">][postcss]
22

3-
<!-- TODO -->
3+
```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

Comments
 (0)