qgis_deployment_toolbelt.commands.cmd_completion module

Sub-command to generate shell completion scripts.

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

qgis_deployment_toolbelt.commands.cmd_completion.parser_completion(subparser: ArgumentParser) ArgumentParser

Set the argument parser for the completion subcommand.

Parameters:

subparser (argparse.ArgumentParser) – parser to set up

Returns:

parser ready to use

Return type:

argparse.ArgumentParser

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

Run the sub command logic.

Parameters:

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