Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unexpected parsing behaviour for --date=2018-12-09 vs. --date=2018-12-10 #102
Anything that can be interpreted as an arithmetics expression will be magically "calculated" by fire. This is very practical. But it bit me because I wanted to parse dates from command line parameters using fire, see below.
Suggestion: accept type hints as a way to prevent this. A parameter with type hint "str" shoud not be "calculated".
Will give you: