id = "killall" name = "killall" description = "Kill processes by name." executables = ["killall"] [commands] format = 1 label = "Signal processes by name" description = "Send a signal to every process matching a name. Other signal spellings (-SIGxxx) beyond HUP, INT and KILL are left out." quality = "ai-draft" base = "fig:killall" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = true } [[commands.source]] id = "src" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/killall.ts" license = "MIT" [[commands.field]] id = "names" label = "Process names" type = "string" position = 0 multiple = true sources = ["src"] [[commands.field]] id = "sighup" label = "Send HUP" description = "Send HUP instead of TERM." type = "boolean" option = ["-SIGHUP"] sources = ["src"] [[commands.field]] id = "sigint" label = "Send INT" description = "Send INT instead of TERM." type = "boolean" option = ["-SIGINT"] sources = ["src"] [[commands.field]] id = "sigkill" label = "Send KILL" description = "Send KILL instead of TERM." type = "boolean" option = ["-SIGKILL"] effect = "delete" sources = ["src"] [[commands.field]] id = "interactive" label = "Confirm each" description = "Request confirmation before killing each process." type = "boolean" option = ["-I"] sources = ["src"] [[commands.field]] id = "regex" label = "Match as regex" description = "Match the process name as a regular expression." type = "boolean" option = ["-m"] sources = ["src"] [[commands.field]] id = "user" label = "Limit to user" description = "Only processes belonging to this user." type = "string" option = ["-u"] sources = ["src"] [[commands.field]] id = "tty" label = "Limit to TTY" description = "Only processes running on this TTY." type = "string" option = ["-t"] sources = ["src"] [[commands.field]] id = "verbose" label = "Verbose" description = "Be verbose." type = "boolean" option = ["-v"] sources = ["src"] [[commands.field]] id = "quiet" label = "Quiet" description = "Suppress the error message if no processes match." type = "boolean" option = ["-q"] sources = ["src"] [[commands.field]] id = "zombies" label = "Include zombies" description = "Do not skip zombies." type = "boolean" option = ["-z"] sources = ["src"] [[commands.task]] id = "terminate" label = "Terminate by name" fields = ["names", "interactive"] required = ["names"] [[commands.task]] id = "force" label = "Force kill by name" fields = ["names", "sigkill"] required = ["names", "sigkill"] set = { sigkill = [true] } [[commands.group]] id = "basic" label = "Basic" fields = ["names", "sigkill", "interactive", "regex", "user", "verbose"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["sighup", "sigint", "tty", "quiet", "zombies"]