google / google/python-fire

support for - as parameter

オープン
#15 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Python
スター
28.2k
フォーク
1.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。