MCPcopy
hub / github.com/pallets/click / get_usage

Method get_usage

src/click/core.py:825–829  ·  view source on GitHub ↗

Helper method to get formatted usage string for the current context and command.

(self)

Source from the content-addressed store, hash-verified

823 raise Exit(code)
824
825 def get_usage(self) -> str:
826 """Helper method to get formatted usage string for the current
827 context and command.
828 """
829 return self.command.get_usage(self)
830
831 def get_help(self) -> str:
832 """Helper method to get formatted help page for the current

Callers 1

showMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected