google / google/python-fire

support for - as parameter

Đang mở
#15 3 bình luận 1 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Python
Star
28.2k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.