Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pyinvoke/invoke
/ is_flag
Function
is_flag
invoke/parser/parser.py:22–23 ·
view source on GitHub ↗
(value: str)
Source
from the content-addressed store, hash-verified
20
21
22
def
is_flag(value: str) -> bool:
23
return
value.startswith(
"-"
)
24
25
26
def
is_long_flag(value: str) -> bool:
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…