Print help/usage for a given command. Modifies `ctx` in-place.
(ctx: click.Context, command: click.Command)
| 151 | |
| 152 | |
| 153 | def print_command_help(ctx: click.Context, command: click.Command): |
| 154 | """Print help/usage for a given command. Modifies `ctx` in-place.""" |
| 155 | ctx.info_name = command.name |
| 156 | ctx.command = command |
| 157 | click.echo("") |
| 158 | click.echo(command.get_help(ctx)) |
| 159 | |
| 160 | |
| 161 | SCENEDETECT_COMMAND_HELP = """PySceneDetect is a scene cut/transition detection program. PySceneDetect takes an input video, runs detection on it, and uses the resulting scene information to generate output. The syntax for using PySceneDetect is: |