|
OpenQuizz
Une application de gestion des contenus pédagogiques
|
Data Structures | |
| class | Argument |
| class | BaseCommand |
| class | Command |
| class | CommandCollection |
| class | Context |
| class | Group |
| class | MultiCommand |
| class | Option |
| class | Parameter |
Functions | |
| def | fast_exit (code) |
| def | batch (iterable, batch_size) |
| def | invoke_param_callback (callback, ctx, param, value) |
| def | augment_usage_errors (ctx, param=None) |
| def | iter_params_for_processing (invocation_order, declaration_order) |
Variables | |
| string | SUBCOMMAND_METAVAR = "COMMAND [ARGS]..." |
| string | SUBCOMMANDS_METAVAR = "COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]..." |
| string | DEPRECATED_HELP_NOTICE = " (DEPRECATED)" |
| string | DEPRECATED_INVOKE_NOTICE = "DeprecationWarning: The command %(name)s is deprecated." |
| def click.core.augment_usage_errors | ( | ctx, | |
param = None |
|||
| ) |
Context manager that attaches extra information to exceptions.
| def click.core.batch | ( | iterable, | |
| batch_size | |||
| ) |
| def click.core.fast_exit | ( | code | ) |
Exit without garbage collection, this speeds up exit by about 10ms for things like bash completion.
| def click.core.invoke_param_callback | ( | callback, | |
| ctx, | |||
| param, | |||
| value | |||
| ) |
| def click.core.iter_params_for_processing | ( | invocation_order, | |
| declaration_order | |||
| ) |
Given a sequence of parameters in the order as should be considered for processing and an iterable of parameters that exist, this returns a list in the correct order as they should be processed.
| string DEPRECATED_HELP_NOTICE = " (DEPRECATED)" |
| string DEPRECATED_INVOKE_NOTICE = "DeprecationWarning: The command %(name)s is deprecated." |
| string SUBCOMMAND_METAVAR = "COMMAND [ARGS]..." |
| string SUBCOMMANDS_METAVAR = "COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]..." |