qgis_deployment_toolbelt.commands.cmd_cleanup module

Sub-command to clean up outdated resources generated by previous deployments.

Author: Julien Moura (https://github.com/guts)

qgis_deployment_toolbelt.commands.cmd_cleanup.parser_cleanup(subparser: ArgumentParser) ArgumentParser

Set the argument parser for subcommand.

Parameters:

subparser (argparse.ArgumentParser) – parser to set up

Returns:

parser ready to use

Return type:

argparse.ArgumentParser

qgis_deployment_toolbelt.commands.cmd_cleanup.run(args: Namespace) None

Run the sub command logic.

Parameters:

args (argparse.Namespace) – arguments passed to the subcommand