Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pyinvoke/invoke
/ short_boolean_flag
Method
short_boolean_flag
tests/cli.py:98–100 ·
view source on GitHub ↗
my-task -b
(self)
Source
from the content-addressed store, hash-verified
96
self._compare(
"--mystring=foo"
,
"mystring"
,
"foo"
)
97
98
def
short_boolean_flag(self):
99
"my-task -b"
100
self._compare(
"-b"
,
"b"
, True)
101
102
def
short_flag_then_space_then_value(self):
103
"my-task -s value"
Callers
nothing calls this directly
Calls
1
_compare
Method · 0.95
Tested by
no test coverage detected