Skip to content

Commit

Permalink
Update usage
Browse files Browse the repository at this point in the history
  • Loading branch information
azu committed Jul 29, 2020
1 parent 6b7349a commit 3ceb09b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
11 changes: 10 additions & 1 deletion packages/@textlint/compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@ Install with [npm](https://www.npmjs.com/):

## Usage

- [ ] Write usage instructions
Usage
$ textlint-compiler

Options
--cwd current working directory
--textlintrc [path:String] path to .textlintrc file. Default: load .textlintrc.{json,yaml,js}
--output-dir [path:String] output file path that is written of reported result.

Examples
$ textlint-compiler --output-dir ./dist

## Demo

Expand Down
4 changes: 2 additions & 2 deletions packages/@textlint/compiler/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export const cli = meow(
Options
--cwd current working directory
--textlintrc [path:String] path to .textlintrc file
--output-dir [path:String] output file path that is written of reported result.
--textlintrc [path:String] path to .textlintrc file. Default: load .textlintrc.{json,yaml,js}
--output-dir [path:String] output file path that is written of reported result.
Examples
$ textlint-compiler --output-dir ./dist
Expand Down

0 comments on commit 3ceb09b

Please sign in to comment.