formatter
xvr.cli.formatter
CategorizedCommand
CategorizedCommand(category_order=[], *args, **kwargs)
Click Command with support for categorized parameters.
Source code in src/xvr/cli/formatter.py
9 10 11 12 13 14 15 16 17 18 19 | |
format_help
format_help(ctx, formatter)
Format help using categorized display.
Source code in src/xvr/cli/formatter.py
21 22 23 | |
CategorizedOption
CategorizedOption(*args, category='Miscellaneous', **kwargs)
Click Option with category support for grouped help display.
Source code in src/xvr/cli/formatter.py
77 78 79 | |
format_categorized_help
format_categorized_help(command, ctx, formatter, category_order: list)
Format help output with parameters grouped by category using Click's default formatting.
Source code in src/xvr/cli/formatter.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | |
categorized_option
categorized_option(*param_decls, category='Miscellaneous', **kwargs)
Decorator to add a categorized option to a command.
Source code in src/xvr/cli/formatter.py
82 83 84 85 86 87 88 89 90 91 92 93 | |