google / google/python-fire

How do I preserve underscores in arguments?

Open
#116 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
28.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Here's run.py:

```
import fire

def f(x):
print(x)

if __name__ == '__main__':
fire.Fire(f)
```

Command:
`python run.py --x 20180217_064501`

Output:

> 20180217064501

Expected output:

> 20180217_064501

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.