Users with Python 2.6 should install argparse using pip (pip install argparse). Python 2.7+ already include argparse. My approach here is to install argparse as a dependency (which will be already resolved in greater Python versions).
argparse.RawDescriptionHelpFormatter allows the description and epilogue to have their own format (to not being printed in one line).
The epilogue will print fabric's available commands.
This branch follows the Upgrading optparse code directives.
Users with Python 2.6 should install
argparse
usingpip
(pip install argparse
). Python 2.7+ already includeargparse
. My approach here is to install argparse as a dependency (which will be already resolved in greater Python versions).argparse.RawDescriptionHelpFormatter
allows thedescription
andepilogue
to have their own format (to not being printed in one line).The
epilogue
will printfabric
's available commands.