MCPcopy
hub / github.com/pallets/click / main

Method main

src/click/core.py:1403–1410  ·  view source on GitHub ↗
(
        self,
        args: cabc.Sequence[str] | None = None,
        prog_name: str | None = None,
        complete_var: str | None = None,
        standalone_mode: t.Literal[True] = True,
        **extra: t.Any,
    )

Source from the content-addressed store, hash-verified

1401
1402 @t.overload
1403 def main(
1404 self,
1405 args: cabc.Sequence[str] | None = None,
1406 prog_name: str | None = None,
1407 complete_var: str | None = None,
1408 standalone_mode: t.Literal[True] = True,
1409 **extra: t.Any,
1410 ) -> t.NoReturn: ...
1411
1412 @t.overload
1413 def main(

Callers 3

__call__Method · 0.95
invokeMethod · 0.80
test_exit_not_standaloneFunction · 0.80

Calls 10

make_contextMethod · 0.95
invokeMethod · 0.95
_expand_argsFunction · 0.85
_detect_program_nameFunction · 0.85
AbortClass · 0.85
PacifyFlushWrapperClass · 0.85
exitMethod · 0.80
echoFunction · 0.70
showMethod · 0.45

Tested by 2

invokeMethod · 0.64
test_exit_not_standaloneFunction · 0.64