faust.cli.params

Python click parameter types.

class faust.cli.params.CaseInsensitiveChoice(choices: Iterable[Any])[source]

Case-insensitive version of click.Choice.

convert(value: str, param: Optional[click.core.Parameter], ctx: Optional[click.core.Context]) → Any[source]

Converts the value. This is not invoked for values that are None (the missing value).

Return type:Any
class faust.cli.params.TCPPort[source]

CLI option: TCP Port (integer in range 1 - 65535).

name = 'range[1-65535]'
class faust.cli.params.URLParam → None[source]

URL click parameter type.

Converts any string URL to yarl.URL.

name = 'URL'
convert(value: str, param: Optional[click.core.Parameter], ctx: Optional[click.core.Context]) → yarl.URL[source]

Converts the value. This is not invoked for values that are None (the missing value).

Return type:URL