command

Definitions of commands and actions that can be run in the garak toolkit

deprecation_notice(deprecated_item: str, version: str, logging=None)Source
end_run()Source
hint(msg, logging=None)Source
list_config()Source
plugin_info(plugin_name)Source
print_buffs()Source
print_detectors(selected_detectors=None)Source
print_generators()Source
print_plugins(prefix: str, color, selected_plugins=None, verbose: int = 0)Source

Print plugins for a category (probes/detectors/generators/buffs).

Parameters:
  • prefix – Plugin category (probes/detectors/generators/buffs)

  • color – Color for output formatting

  • selected_plugins – Optional list of specific plugins to show. If None, shows all.

  • verbose – Verbosity level. 0 = plain list, >=1 = markdown table with metadata.

print_probes(selected_probes=None, verbose=0)Source

Print available probes.

Parameters:
  • selected_probes – Optional list of specific probes to show.

  • verbose – Verbosity level. 0 = plain list, >=1 = markdown table.

probewise_run(generator, probe_names, evaluator, buffs)Source
pxd_run(generator, probe_names, detector_names, evaluator, buffs)Source
start_logging()Source
start_run()Source
write_report_digest(report_filename, html_report_filename)Source