MCPcopy 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
22def is_flag(value: str) -> bool:
23 return value.startswith("-")
24
25
26def is_long_flag(value: str) -> bool:

Callers 1

parse_argvMethod · 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…