garak.interactive
- class garak.interactive.GarakCommands
Bases:
CommandSet
- cmd2_default_help_category = 'Garak Commands'
- do_list(args)
List available probes, decorators, or generators
- do_probe(args)
Run the probe.
- class garak.interactive.GarakTerminal
Bases:
Cmd
Terminal class for Interactive Garak CLI
- do_quit(args)
Exit this application
- postcmd(stop, line)
Set the prompt to reflect interaction changes.
- garak.interactive.banner()
Display a random banner
- garak.interactive.interactive_mode()
Launch garak in interactive mode. Allows users to explore and use garak without CLI flags.
- garak.interactive.print_plugins(prefix, color)