Skip to content

Commit

Permalink
add stdio changes to changelog and add output example (#112)
Browse files Browse the repository at this point in the history
* add stdio changes to changelog, update example
  • Loading branch information
Phil Varner authored Apr 19, 2024
1 parent d4cef1c commit b64c612
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- CLI flags `--skip-upload` and `--skip-validation` deprecated in favor of `--upload/--no-upload` and `--validate/no-validate`
- Task constructor arguments `skip_upload` and `skip_validation` deprecated in favor of `upload` and `validate`

## Added

- Added support for using stdin and stdout as input and output for task, e.g., `cat in.json | src/mytask/mytask.py run --local | tee out.json`

## [v0.4.2] - 2024-03-08

### Added
Expand Down
2 changes: 1 addition & 1 deletion docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Payload can be read from stdin:

.. code-block:: console
cat my-input-file.json | src/mytask/mytask.py run --logging DEBUG --local
cat input.json | src/mytask/mytask.py run --local | tee output.json
The first argument is the command, of which the only option currently is `run`.

Expand Down

0 comments on commit b64c612

Please sign in to comment.