birdy.cli.base module

class birdy.cli.base.BirdyCLI(name=None, url=None, caps_xml=None, desc_xml=None, **attrs)[source]

Bases: Group

BirdyCLI is an implementation of click.MultiCommand.

Adds each process of a Web Processing Service as command to the command-line interface.

Parameters

namestr

Name of the process.

urlstr

URL of the Web Processing Service.

caps_xmlstr

A WPS GetCapabilities response for testing.

desc_xmlstr

A WPS DescribeProcess response with “identifier=all” for testing.

**attrsdict

Additional attributes.

static format_command_help(process)[source]
get_command(ctx, name)[source]

Given a context and a command name, this returns a Command object if it exists or returns None.

static get_param_default(param)[source]
static get_param_type(param)[source]
list_commands(ctx)[source]

Returns a list of subcommand names in the order they should appear.

property wps