Skip to content

Commit

Permalink
Add parser to invoke.completion.complete.complete (#8819)
Browse files Browse the repository at this point in the history
Closes #8818
  • Loading branch information
sobolevn authored Oct 1, 2022
1 parent d7a7013 commit 6950c32
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stubs/invoke/invoke/completion/complete.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ from collections.abc import Iterable, Sequence
from typing import NoReturn

from ..collection import Collection
from ..parser import ParserContext, ParseResult
from ..parser import Parser, ParserContext, ParseResult

def complete(names: Iterable[str], core: ParseResult, initial_context: ParserContext, collection: Collection) -> NoReturn: ...
def complete(
names: Iterable[str], core: ParseResult, initial_context: ParserContext, collection: Collection, parser: Parser
) -> NoReturn: ...
def print_task_names(collection: Collection) -> None: ...
def print_completion_script(shell: str, names: Sequence[str]) -> None: ...

0 comments on commit 6950c32

Please sign in to comment.