massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2and3 / click / __init__.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/click/__init__.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2and3/click/__init__.pyi
new file mode 100644 (file)
index 0000000..05dda1d
--- /dev/null
@@ -0,0 +1,156 @@
+# -*- coding: utf-8 -*-\r
+"""\r
+    click\r
+    ~~~~~\r
+\r
+    Click is a simple Python module that wraps the stdlib's optparse to make\r
+    writing command line scripts fun.  Unlike other modules, it's based around\r
+    a simple API that does not come with too much magic and is composable.\r
+\r
+    In case optparse ever gets removed from the stdlib, it will be shipped by\r
+    this module.\r
+\r
+    :copyright: (c) 2014 by Armin Ronacher.\r
+    :license: BSD, see LICENSE for more details.\r
+"""\r
+\r
+# Core classes\r
+from .core import (\r
+    Context as Context,\r
+    BaseCommand as BaseCommand,\r
+    Command as Command,\r
+    MultiCommand as MultiCommand,\r
+    Group as Group,\r
+    CommandCollection as CommandCollection,\r
+    Parameter as Parameter,\r
+    Option as Option,\r
+    Argument as Argument,\r
+)\r
+\r
+# Globals\r
+from .globals import get_current_context as get_current_context\r
+\r
+# Decorators\r
+from .decorators import (\r
+    pass_context as pass_context,\r
+    pass_obj as pass_obj,\r
+    make_pass_decorator as make_pass_decorator,\r
+    command as command,\r
+    group as group,\r
+    argument as argument,\r
+    option as option,\r
+    confirmation_option as confirmation_option,\r
+    password_option as password_option,\r
+    version_option as version_option,\r
+    help_option as help_option,\r
+)\r
+\r
+# Types\r
+from .types import (\r
+    ParamType as ParamType,\r
+    File as File,\r
+    Path as Path,\r
+    Choice as Choice,\r
+    IntRange as IntRange,\r
+    Tuple as Tuple,\r
+    STRING as STRING,\r
+    INT as INT,\r
+    FLOAT as FLOAT,\r
+    BOOL as BOOL,\r
+    UUID as UUID,\r
+    UNPROCESSED as UNPROCESSED,\r
+)\r
+\r
+# Utilities\r
+from .utils import (\r
+    echo as echo,\r
+    get_binary_stream as get_binary_stream,\r
+    get_text_stream as get_text_stream,\r
+    open_file as open_file,\r
+    format_filename as format_filename,\r
+    get_app_dir as get_app_dir,\r
+    get_os_args as get_os_args,\r
+)\r
+\r
+# Terminal functions\r
+from .termui import (\r
+    prompt as prompt,\r
+    confirm as confirm,\r
+    get_terminal_size as get_terminal_size,\r
+    echo_via_pager as echo_via_pager,\r
+    progressbar as progressbar,\r
+    clear as clear,\r
+    style as style,\r
+    unstyle as unstyle,\r
+    secho as secho,\r
+    edit as edit,\r
+    launch as launch,\r
+    getchar as getchar,\r
+    pause as pause,\r
+)\r
+\r
+# Exceptions\r
+from .exceptions import (\r
+    ClickException as ClickException,\r
+    UsageError as UsageError,\r
+    BadParameter as BadParameter,\r
+    FileError as FileError,\r
+    Abort as Abort,\r
+    NoSuchOption as NoSuchOption,\r
+    BadOptionUsage as BadOptionUsage,\r
+    BadArgumentUsage as BadArgumentUsage,\r
+    MissingParameter as MissingParameter,\r
+)\r
+\r
+# Formatting\r
+from .formatting import HelpFormatter as HelpFormatter, wrap_text as wrap_text\r
+\r
+# Parsing\r
+from .parser import OptionParser as OptionParser\r
+\r
+\r
+__all__ = [\r
+    # Core classes\r
+    'Context', 'BaseCommand', 'Command', 'MultiCommand', 'Group',\r
+    'CommandCollection', 'Parameter', 'Option', 'Argument',\r
+\r
+    # Globals\r
+    'get_current_context',\r
+\r
+    # Decorators\r
+    'pass_context', 'pass_obj', 'make_pass_decorator', 'command', 'group',\r
+    'argument', 'option', 'confirmation_option', 'password_option',\r
+    'version_option', 'help_option',\r
+\r
+    # Types\r
+    'ParamType', 'File', 'Path', 'Choice', 'IntRange', 'Tuple', 'STRING',\r
+    'INT', 'FLOAT', 'BOOL', 'UUID', 'UNPROCESSED',\r
+\r
+    # Utilities\r
+    'echo', 'get_binary_stream', 'get_text_stream', 'open_file',\r
+    'format_filename', 'get_app_dir', 'get_os_args',\r
+\r
+    # Terminal functions\r
+    'prompt', 'confirm', 'get_terminal_size', 'echo_via_pager',\r
+    'progressbar', 'clear', 'style', 'unstyle', 'secho', 'edit', 'launch',\r
+    'getchar', 'pause',\r
+\r
+    # Exceptions\r
+    'ClickException', 'UsageError', 'BadParameter', 'FileError',\r
+    'Abort', 'NoSuchOption', 'BadOptionUsage', 'BadArgumentUsage',\r
+    'MissingParameter',\r
+\r
+    # Formatting\r
+    'HelpFormatter', 'wrap_text',\r
+\r
+    # Parsing\r
+    'OptionParser',\r
+]\r
+\r
+\r
+# Controls if click should emit the warning about the use of unicode\r
+# literals.\r
+disable_unicode_literals_warning = False\r
+\r
+\r
+__version__ = '6.6'\r