-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path_cli.pyi
More file actions
41 lines (35 loc) · 932 Bytes
/
_cli.pyi
File metadata and controls
41 lines (35 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# File generated with docstub
import logging
import sys
from collections.abc import Callable, Sequence
from pathlib import Path
from typing import Literal
import click
from _typeshed import Incomplete
from ._cli_help import HelpFormatter
from ._version import __version__
logger: logging.Logger
click.Context.formatter_class = HelpFormatter
@click.group()
def cli() -> None: ...
def _calc_verbosity(
*, verbose: Literal[0, 1, 3], quiet: Literal[0, 1, 2]
) -> Literal[-2, -1, 0, 1, 2, 3]: ...
def _add_verbosity_options(func: Callable) -> Callable: ...
@cli.command()
def run(
*,
root_path: Path,
out_dir: Path,
config_paths: Sequence[Path],
ignore: Sequence[str],
group_errors: bool,
allow_errors: int,
fail_on_warning: bool,
desired_worker_count: int,
no_cache: bool,
verbose: int,
quiet: int,
) -> None: ...
@cli.command()
def clean(verbose: int, quiet: int) -> None: ...