google / google/python-fire

support for - as parameter

Open
#15 3 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
28.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

as stated here https://docs.python.org/3/library/fileinput.html sometimes
```
echo 'one line' | python3 test.py -
Fire trace:
1. Initial component
2. ('The function received no value for the required argument:', 'file_name')

```
should use std in instead file for input or output

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.