Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(prettier): output to stdout instead of write file by default unless specified --write flag #332

Merged
merged 14 commits into from
May 21, 2019
Prev Previous commit
update help message
  • Loading branch information
axetroy committed May 21, 2019
commit d069d90d220ae7efb1d66afc543366ff80ff8b29
8 changes: 4 additions & 4 deletions prettier/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,16 @@ Markdown Styling Options:
Defaults to preserve.

Example:
deno prettier/main.ts --write script1.ts script2.js
deno run prettier/main.ts --write script1.ts script2.js
Formats the files

deno prettier/main.ts --check script1.ts script2.js
deno run prettier/main.ts --check script1.ts script2.js
Checks if the files are formatted

deno prettier/main.ts --write
deno run prettier/main.ts --write
Formats the all files in the repository

deno prettier/main.ts script1.ts
deno run prettier/main.ts script1.ts
Print the formatted code to stdout
`;

Expand Down