Ejemplo n.º 1
0
 def _reporter_argument(self) -> cli_syntax.DescribedArgument:
     return cli_syntax.DescribedArgument(
         _REPORTER_OPTION,
         _TP.fnap(_REPORTER_OPTION_DESCRIPTION),
         see_also_items=see_also_items_from_cross_refs(
             [concepts.SUITE_REPORTER_CONCEPT_INFO.cross_reference_target] +
             reporters.all_suite_reporters_cross_refs()))
Ejemplo n.º 2
0
 def _keep_sandbox_argument(self) -> cli_syntax.DescribedArgument:
     return cli_syntax.DescribedArgument(
         _KEEP_SANDBOX_OPTION,
         argument_parsing.TEXT_PARSER.fnap(
             argument_parsing.KEEPING_SANDBOX_OPTION_DESCRIPTION),
         see_also_items=[
             CrossReferenceIdSeeAlsoItem(
                 SDS_CONCEPT_INFO.cross_reference_target),
         ])
Ejemplo n.º 3
0
 def _preprocessor_argument(self) -> cli_syntax.DescribedArgument:
     return cli_syntax.DescribedArgument(
         PREPROCESSOR_OPTION,
         argument_parsing.TEXT_PARSER.fnap(
             argument_parsing.PREPROCESSOR_OPTION_DESCRIPTION),
         see_also_items=see_also_items_from_cross_refs([
             PREPROCESSOR_CONCEPT_INFO.cross_reference_target,
             section_infos.CONFIGURATION.instruction_cross_reference_target(
                 instruction_names.INSTRUCTION_NAME__PREPROCESSOR),
             SHELL_SYNTAX_CONCEPT_INFO.cross_reference_target,
         ]))
Ejemplo n.º 4
0
 def _actor_argument(self) -> cli_syntax.DescribedArgument:
     return cli_syntax.DescribedArgument(
         _ACTOR_OPTION,
         argument_parsing.TEXT_PARSER.fnap(
             argument_parsing.ACTOR_OPTION_DESCRIPTION),
         see_also_items=see_also_items_from_cross_refs([
             ACTOR_CONCEPT_INFO.cross_reference_target,
             phase_infos.CONFIGURATION.instruction_cross_reference_target(
                 conf_params.ACTOR),
             SHELL_SYNTAX_CONCEPT_INFO.cross_reference_target,
         ]),
     )
Ejemplo n.º 5
0
 def _actor_argument(self) -> cli_syntax.DescribedArgument:
     extra_format_map = {
         'interpreter_program': _ACTOR_OPTION.argument,
     }
     return cli_syntax.DescribedArgument(
         _ACTOR_OPTION,
         _TP.fnap(_ACTOR_OPTION_DESCRIPTION, extra_format_map),
         see_also_items=see_also_items_from_cross_refs([
             concepts.ACTOR_CONCEPT_INFO.cross_reference_target,
             concepts.SHELL_SYNTAX_CONCEPT_INFO.cross_reference_target,
             phase_infos.CONFIGURATION.instruction_cross_reference_target(
                 instruction_names.ACTOR_INSTRUCTION_NAME),
         ]))
Ejemplo n.º 6
0
 def _test_suite_option_argument(self) -> cli_syntax.DescribedArgument:
     return cli_syntax.DescribedArgument(
         SUITE_OPTION_ARGUMENT,
         _TP.fnap(_CORRESPONDS_TO_TEST_SUITE_ARGUMENT))
Ejemplo n.º 7
0
 def _suite_argument(self) -> cli_syntax.DescribedArgument:
     return cli_syntax.DescribedArgument(
         SUITE_OPTION,
         argument_parsing.TEXT_PARSER.fnap(
             argument_parsing.SUITE_OPTION_DESCRIPTION),
     )
Ejemplo n.º 8
0
 def _execute_act_phase_argument(self) -> cli_syntax.DescribedArgument:
     return cli_syntax.DescribedArgument(
         _EXECUTING_ACT_PHASE_OPTION,
         argument_parsing.TEXT_PARSER.fnap(
             argument_parsing.EXECUTING_ACT_PHASE_OPTION_DESCRIPTION),
     )