Skip to content

Commit ba8cdc2

Browse files
authored
docs: version up @commitlint/cli in CLI section (conventional-changelog#4499)
1 parent 794c04f commit ba8cdc2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/reference/cli.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
<script setup>
2+
import packageJson from "../../@commitlint/cli/package.json"
3+
const commitlintVersion = packageJson.version
4+
</script>
5+
16
# CLI
27

3-
```sh
8+
```sh-vue
49
❯ npx commitlint --help
510
6-
@commitlint/cli@19.5.0 - Lint your commit messages
11+
@commitlint/cli@{{ commitlintVersion }} - Lint your commit messages
712
813
[input] reads from stdin if --edit, --env, --from and --to are omitted
914

0 commit comments

Comments
 (0)