You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(docs): add help command and fix CLI usage examples (#1016)
* feat: add help command and fix CLI usage examples
- Add --help flag and help text to swipl-generate CLI
- Update README to use correct npx swipl-generate command syntax
* feat: update help text to mention only TypeScript generation
Changes CLI help text to specify TypeScript output only, removing
JavaScript option from usage examples and argument descriptions.
---------
Co-authored-by: Jesse Wright <63333554+jeswr@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,7 +100,7 @@ the `.js` file instead.
100
100
101
101
## Generating an image
102
102
103
-
Often you will want to bundle a pre-built image of your Prolog file. The easiest way to do this is using the `swipl-generate` command to generate the image. For example in `./examples/generation` the script: `swipl-generate ./max.pl ./dist/max.ts` will generate a file `./dist/max.ts` which contains the image of `./max.pl`. This file can then be imported into your project and used as follows:
103
+
Often you will want to bundle a pre-built image of your Prolog file. The easiest way to do this is using the `swipl-generate` command to generate the image. For example in `./examples/generation` the script: `npx swipl-generate ./max.pl ./dist/max.ts` will generate a file `./dist/max.ts` which contains the image of `./max.pl`. This file can then be imported into your project and used as follows:
0 commit comments