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

Improve command-line tool with options and streaming mode #108

Closed
wants to merge 2 commits into from

Commits on Feb 10, 2016

  1. Improve command-line tool with options and streaming mode

    new features:
    - add option `--stdin` to stream JSON5 in, and JSON out
    - add option `--indent` to set pretty-print indent level (default 4)
    - add option `--compile` as alias for `-c`
    
    possibly breaking changes:
    - write trailing newlines if `--indent` is not 0
    
    new dependencies:
    - adds "yargs" as a dependency for command-line option parsing
    Jake Teton-Landis committed Feb 10, 2016
    Copy the full SHA
    5504cae View commit details
    Browse the repository at this point in the history
  2. pull streams into own file and clean up

    Jake Teton-Landis committed Feb 10, 2016
    Copy the full SHA
    c1ff37b View commit details
    Browse the repository at this point in the history