reuse.supported_licenses module#

supported-licenses command handler

reuse.supported_licenses.add_arguments(parser: ArgumentParser) None[source]#

Add arguments to the parser.

reuse.supported_licenses.run(args: ~argparse.Namespace, project: ~reuse.project.Project, out: ~typing.IO[str] = <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>) int[source]#

Print the supported SPDX licenses list