Skip to content

Commit e7406fc

Browse files
Merge pull request #24 from target/all_flag
2 parents b55c5b7 + 1a7197f commit e7406fc

File tree

5 files changed

+1427
-959
lines changed

5 files changed

+1427
-959
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,19 @@ Optionally, wire up `markdown-inject` to a git pre-commit hook tool like [husky]
4040
-->
4141
<!-- prettier-ignore -->
4242
~~~~~~~~~~bash
43-
Usage: markdown-inject [options] <glob pattern>
43+
Usage: markdown-inject [options] <glob pattern | -a>
4444

4545
Examples:
46-
$ npx markdown-inject './**/*.md'
46+
$ npx markdown-inject -a
4747
$ npx markdown-inject 'README.md'
48+
$ npx markdown-inject './**/*.{md,mdx}'
4849

4950
Add file or command output to markdown documents.
5051

5152
Options:
5253
-v, --version output the version number
54+
-a, --all applies a globPattern of './**/*.md'
55+
(default: false)
5356
-b, --block-prefix <prefix> specifies the prefix for START and END HTML
5457
comment blocks (default: "CODEBLOCK")
5558
-n, --no-follow-symbolic-links prevents globs from following symlinks

0 commit comments

Comments
 (0)