Cli Parser

Auto-generated documentation for mypy_boto3_builder.cli_parser module.

CLI parser.

Namespace

[find in source code]

dataclass(kw_only=True, slots=True)
class Namespace():

CLI arguments namespace.

get_absolute_path

[find in source code]

def get_absolute_path(path: str) -> Path:

Get absolute path from a string.

Arguments

  • path - String containing path.

Returns

Absolute path.

parse_args

[find in source code]

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

Main CLI parser for builder.

Returns

Argument parser.

See also