Argparse

Introduction

The Argparse Extension provides the ArgparseArgumentHandlerarrow-up-right for argument parsing, and the ArgparseControllerarrow-up-right for runtime dispatch. Both are the defaults used by Cement.

Documentation References:

API References

Requirements

  • No external dependencies

Configuration

This extension does not rely on any application level configuration settings or meta options.

Usage

The following is an example application using both the ArgparseArgumentHandlerarrow-up-right and ArgparseControllerarrow-up-right. Note that the default arg_handler is already set toArgparseArgumentHandler by App.

Last updated