CLI.JS
Section: User Commands (1)
Updated: January 2023
Index
Return to Main Contents
NAME
cli.js - Command line for the JSON5 Data Interchange Format (JSON5)
DESCRIPTION
-
Usage: json5 [options] <file>
-
If <file> is not provided, then STDIN is used.
-
Options:
- -s, --space
-
The number of spaces to indent or 't' for tabs
- -o, --out-file [file]
-
Output to the specified file, otherwise STDOUT
- -v, --validate
-
Validate JSON5 but do not output JSON
- -V, --version
-
Output the version number
- -h, --help
-
Output usage information
Index
- NAME
-
- DESCRIPTION
-
This document was created by
man2html,
using the manual pages.
Time: 12:57:34 GMT, April 28, 2024