google / google/python-fire

Passing an argument multiple times

Open
#398 1 comment 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

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
---------------------------

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.