Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyinvoke/invoke
/ is_long_flag
Function
is_long_flag
invoke/parser/parser.py:26–27 ·
view source on GitHub ↗
(value: str)
Source
from the content-addressed store, hash-verified
24
25
26
def
is_long_flag(value: str) -> bool:
27
return
value.startswith(
"--"
)
28
29
30
class
ParseResult(List[
"ParserContext"
]):
Callers
1
parse_argv
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…