gws.plugin.qgis.cli

Command-line commands for QGIS projects.

Source code: gws.plugin.qgis.cli

Module Contents

class gws.plugin.qgis.cli.CapsParams(*args, **kwargs)

Bases: gws.CliParams

Parameters for the caps command.

out: str = ''

Output file name. If empty, the result is printed.

src: str

Project file path or Postgres address postgres:<dbUid>/<schema>/<projectName>.

class gws.plugin.qgis.cli.CopyParams(*args, **kwargs)

Bases: gws.CliParams

Parameters for the copy command.

dst: str

Destination project file path or Postgres address postgres:<dbUid>/<schema>/<projectName>.

src: str

Source project file path or Postgres address postgres:<dbUid>/<schema>/<projectName>.

class gws.plugin.qgis.cli.Object

Bases: gws.Node

CLI commands for QGIS projects.

do_caps(p: CapsParams)

Print the parsed capabilities of a QGIS project as JSON.

do_copy(p: CopyParams)

Copy a QGIS project between files and databases.