interactive

class GarakCommandsSource

Bases: CommandSet

cmd2_default_help_category = 'Garak Commands'
do_list(args)Source

List available probes, decorators, or generators

do_probe(args)Source

Run the probe.

class GarakTerminalSource

Bases: Cmd

Terminal class for Interactive Garak CLI

default(command: str) NoneSource

Execute when a command isn’t recognized

do_quit(args)Source

Exit this application

postcmd(stop, line)Source

Set the prompt to reflect interaction changes.

settings_ns_provider() NamespaceSource

Populate an argparse Namespace with current settings

banner()Source

Display a random banner

interactive_mode()Source

Launch garak in interactive mode. Allows users to explore and use garak without CLI flags.

print_plugins(prefix, color)Source