Formats strings of args into dicts
Project description
nevArgs
It's a simple package that using shlex formats your cli-like argument strings and format them into a dict
>>> import nevargs
>>> s = "this is -f True fun -c command"
>>> nevargs.dictify(s)
{'bin': ['-f'], '-f': ['True', 'command'], 'no': ['this', 'is', 'fun']}
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nevargs-0.0.3.tar.gz
(2.8 kB
view hashes)