qgis_deployment_toolbelt.commands.deployment module

Sub-command in charge of running the main logic.

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

qgis_deployment_toolbelt.commands.deployment.get_remote_scenario_from_url(remote_url: str) Path

Download remote scenario and return local file path.

Parameters:

remote_url (str) – URL to remote scenario

Returns:

local path to downloaded scenario.

Return type:

Path

qgis_deployment_toolbelt.commands.deployment.parser_main_deployment(subparser: ArgumentParser) ArgumentParser

Set the argument parser for deployment subcommand.

Parameters:

subparser (argparse.ArgumentParser) – parser to set up

Returns:

parser ready to use

Return type:

argparse.ArgumentParser

qgis_deployment_toolbelt.commands.deployment.run(args: Namespace)

Run the main logic.

Parameters:

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