Formats the help into a string and returns it. Calls :meth:`format_help` internally.
(self, ctx: Context)
| 1183 | return parser |
| 1184 | |
| 1185 | def get_help(self, ctx: Context) -> str: |
| 1186 | """Formats the help into a string and returns it. |
| 1187 | |
| 1188 | Calls :meth:`format_help` internally. |
| 1189 | """ |
| 1190 | formatter = ctx.make_formatter() |
| 1191 | self.format_help(ctx, formatter) |
| 1192 | return formatter.getvalue().rstrip("\n") |
| 1193 | |
| 1194 | def get_short_help_str(self, limit: int = 45) -> str: |
| 1195 | """Gets short help for the command or makes it by shortening the |
nothing calls this directly
no test coverage detected