Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

get_parser

gammapy.utils.scripts.get_parser(function=None, description='N/A')[source]

Make an ArgumentParser how we like it.