Skip to content

Commit

Permalink
Add sample usage banner
Browse files Browse the repository at this point in the history
  • Loading branch information
febeling committed Dec 7, 2023
1 parent 2ab81ab commit 382d0a9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 28 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
TODO.md
/dist
/example.js
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,19 @@ if (ok) {
process.exit(1);
}
```

`synopt.usage()` genertes this usage banner.

```
Usage: mkwebmanifest [options]
Generate icons and web manifest for web applications
-i, --icon ICON source icon file
-n, --name NAME name of the web application
--config FILE configuration file
--outdir <directory> directory path for generated files
--verbose more output
-h, --help print help
```
28 changes: 0 additions & 28 deletions example.js

This file was deleted.

0 comments on commit 382d0a9

Please sign in to comment.