Skip to content

Cli Parser#

Awscliv2 Index / Awscliv2 / Cli Parser

Auto-generated documentation for awscliv2.cli_parser module.

CLINamespace#

Show source in cli_parser.py:31

Main CLI Namespace.

Signature#

class CLINamespace:
    def __init__(
        self,
        configure: Sequence[str],
        assume_role: Sequence[str],
        encoding: str,
        install: bool,
        update: bool,
        version: bool,
        other: Sequence[str],
    ) -> None: ...

get_version#

Show source in cli_parser.py:18

Get awscliv2 package version.

Returns#

Version as a string.

Signature#

def get_version() -> str: ...

parse_args#

Show source in cli_parser.py:55

Parse CLI arguments.

Signature#

def parse_args(args: Sequence[str]) -> CLINamespace: ...

See also#