argsdict

Simple command-line argument parser.


Keywords
argument-parser, command-line, pypi, pypi-package
License
GPL-2.0
Install
pip install argsdict==0.0.1

Documentation

argsdict

Simple command-line argument parser.

$ python args.py John Smith --age=30 --married

from argsdict import args

arg = args(["name", "surname"])
>> {"name": "John",
    "surname": "Smith",
    "--age": "30",
    "--married": True}