Skip to content

Python argparse extension with hints on unknown arguments.

License

Notifications You must be signed in to change notification settings

rogalski/fuzzyargparse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fuzzyargparse

About

Python argparse extension with hints on unknown arguments.

Build Status Coverage Status Code Climate

License

The MIT License.

Dependencies

Fuzzyargparse uses:

How to use:

import fuzzyargparse
parser = fuzzyargparse.FuzzyArgumentParser()
parser.add_argument("-o", "--option")
parser.add_argument("-a", "--another")
parser.parse_args()

Sample output:

usage: app.py [-h] [-o OPTION] [-a ANOTHER]
app.py: error: unrecognized arguments: --optionz value --nother 123
did you mean: --option (was: --optionz)
did you mean: --another (was: --nother)

About

Python argparse extension with hints on unknown arguments.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages