pcvs.cli.cli_profile module

pcvs.cli.cli_profile.compl_list_templates(ctx, args, incomplete)[source]

the profile template completion.

Parameters:
  • ctx (Click.Context) – Click context

  • args (str) – the option/argument requesting completion.

  • incomplete (str) – the user input

pcvs.cli.cli_profile.compl_list_token(ctx, args, incomplete)[source]

profile name completion function.

Parameters:
  • ctx (Click.Context) – Click context

  • args (str) – the option/argument requesting completion.

  • incomplete (str) – the user input

pcvs.cli.cli_profile.profile_interactive_select()[source]

Interactive selection of config blocks to build a profile.

Based on user input, this function displays, for each kind, possible blocks and waits for a selection. A final profile is built from them.

Returns:

concatenation of basic blokcs

Return type:

dict