MCPcopy Create free account
hub / github.com/pyinvoke/invoke / boolean_args

Method boolean_args

tests/cli.py:86–88  ·  view source on GitHub ↗

my-task --boolean

(self)

Source from the content-addressed store, hash-verified

84 self._compare_names("sub-coll", "sub-coll.sub-task")
85
86 def boolean_args(self):
87 "my-task --boolean"
88 self._compare("--boolean", "boolean", True)
89
90 def flag_then_space_then_value(self):
91 "my-task --mystring foo"

Callers

nothing calls this directly

Calls 1

_compareMethod · 0.95

Tested by

no test coverage detected