Metadata-Version: 2.0
Name: argparse-extensions
Version: 1.0.2
Summary: argparse extensions
Home-page: https://github.com/nkouevda/argparse-extensions
Author: Nikita Kouevda
Author-email: nkouevda@gmail.com
License: MIT
Platform: UNKNOWN
Description-Content-Type: text/markdown

# argparse-extensions

[`argparse`](https://docs.python.org/3/library/argparse.html) extensions.

## Installation

    pip install argparse-extensions

## Usage

`action=argparse_extensions.NegatableStoreTrueAction` is a drop-in replacement
for `action='store_true'`:

    parser = argparse.ArgumentParser()
    parser.add_argument(
        '--foo',
        action=argparse_extensions.NegatableStoreTrueAction)

This will handle `--no-foo` in addition to `--foo`.

## License

Licensed under the [MIT License](http://www.opensource.org/licenses/MIT).


