google / google/python-fire

Passing an argument multiple times

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

説明

How can add argument multiple times?

For example, in the multiply example, how to pass arbitrary number of integers with flags like this -
--------------------------
python calculate.py multiply -x 1 -x 2 -x 3
6
---------------------------

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

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

評価

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

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

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