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

Implement stdin input #3312

Merged
merged 9 commits into from Jan 4, 2020
Merged

Implement stdin input #3312

merged 9 commits into from Jan 4, 2020

Commits on Jan 4, 2020

  1. Implement stdin input with optional "-" as the file name.

    Set default output format to "es" to save CLI typing for the most common case.
    
    closes #1440
    closes #3276
    kzc authored and lukastaegert committed Jan 4, 2020
    Copy the full SHA
    209d21a View commit details
    Browse the repository at this point in the history
  2. * Test if we can delete process.stdin on CI

    * Only allow '-' to use stdin with the JS API
    * Use locally installed shx
    * Add test for stdin read error
    lukastaegert committed Jan 4, 2020
    Copy the full SHA
    c71aa5c View commit details
    Browse the repository at this point in the history
  3. * Only allow stdin via the CLI

    * Move stdin logic to CLI
    * Only use stdin as input by default when there is no config file
    lukastaegert committed Jan 4, 2020
    Copy the full SHA
    85eb860 View commit details
    Browse the repository at this point in the history
  4. * Allow using "-" as a regular file name with --no-stdin CLI flag

    * Override input with stdin with --stdin CLI flag
    lukastaegert committed Jan 4, 2020
    Copy the full SHA
    8db6352 View commit details
    Browse the repository at this point in the history
  5. * Add documentation

    lukastaegert committed Jan 4, 2020
    Copy the full SHA
    c78bad1 View commit details
    Browse the repository at this point in the history
  6. Avoid using shx

    lukastaegert committed Jan 4, 2020
    Copy the full SHA
    143213a View commit details
    Browse the repository at this point in the history
  7. Skip tests on Windows

    lukastaegert committed Jan 4, 2020
    Copy the full SHA
    4acd8fe View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    a307882 View commit details
    Browse the repository at this point in the history
  9. Fix Windows tests

    lukastaegert committed Jan 4, 2020
    Copy the full SHA
    1f3bbda View commit details
    Browse the repository at this point in the history