{ "info": { "author": "Sri Kadimisetty", "author_email": "s@sri.io", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Terminals" ], "description": "[action_hero_logo]: ./art/logo.svg\n![Action Hero Logo][action_hero_logo]\n\n\n[](https://codecov.io/gh/kadimisetty/action-hero)\n\n\n\n[](https://travis-ci.org/kadimisetty/action-hero)\n\n\n####\n\n`action_hero` is a python package that helps you \n__manage user arguments in command line applications using `argparse`__ \n\n\n## Introduction\n> __Introduction__ \u00b7 [Quick Usage](#quick-usage) \u00b7 [Help & FAQ](#help-and-faq) \u00b7 [Catalog](#catalog) \u00b7 [Development](#development)\n\n##### _Argparse, Parsers, Actions? What now??_ \ud83e\udd37\u200d\u2642\ufe0f\n\n
argparse is a python standard library module used to build command line interfaces.\n\u2693\ufe0e\nargparse.ArgumentParser parses user arguments by inspecting\nthe command line, converting each argument to an appropriate type and finally\ninvoking an appropriate argparse.Action\n\u2693\ufe0e\nargparse.Action objects are used by\nArgumentParser to represent information needed to parse arguments\nfrom the command line.\n\u2693\ufe0e\naction_hero provides many such custom actions to deal with\naccepting user arguments in your command line application. They are subclasses\nof argparse.Action and fit in with the rest of you\nargparse code.FileIsWritableAction automatically\nverifies that all file paths accepted as arguments are indeed writable,\ninforming the user if they aren't. This saves you the trouble of doing\nthat check yourself. Nice, no? Browse the catalog for\nmore custom actions.action_hero in my command line application?argparse knowledge should do it.argparse?argparse is part of the Python standard library.action_hero tied to the argparse module?argpoarse.Action should work as long as it handles the argparse.ArgumentError exception)argparse.ArgumentError{\"helpful error message\"}, just like any other argparse.Action