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

Function test_help_option

tests/test_shell_completion.py:107–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105
106
107def test_help_option():
108 cli = Group("cli", commands=[Command("with"), Command("no", add_help_option=False)])
109 assert _get_words(cli, ["with"], "--") == ["--help"]
110 assert _get_words(cli, ["no"], "--") == []
111
112
113def test_argument_order():

Callers

nothing calls this directly

Calls 3

GroupClass · 0.90
CommandClass · 0.90
_get_wordsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…