google / google/python-fire

Help Request - Disable NAME and SYNOPSIS Output

Đang mở
#277 2 bình luận 2 reaction 0 người được giao Xem trên GitHub
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ả

I'm trying to find a way to disable the additional output that the fire library creates that comes after the process completes. It begins with NAME and includes SYNOPSIS. I have no need for this additional output in my scenario as it could potentially cause trouble for another external process that calls this and is examining the stdout for its own processing.

Here's an example of what I'm describing:
```
M:\Python\Workbench>FireHelpDocumentationExample.py --HowMuchPizza=1
()
NAME
FireHelpDocumentationExample.py --HowMuchPizza=1

SYNOPSIS
FireHelpDocumentationExample.py --HowMuchPizza=1 -
```

I would expect just:
`()`

An example of code I put together that was used to create this example [is here](https://gist.github.com/Sn3akyP3t3/f571c4baf272db191ed59f03359795c0).

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.