mirror of
https://github.com/aaif-goose/goose.git
synced 2026-06-02 06:14:27 +02:00
chore(docs): update is_dangerous_command method description (#48)
This commit is contained in:
@@ -5,6 +5,8 @@ def is_dangerous_command(command: str) -> bool:
|
|||||||
"""
|
"""
|
||||||
Check if the command matches any dangerous patterns.
|
Check if the command matches any dangerous patterns.
|
||||||
|
|
||||||
|
Dangerous patterns in this function are defined as commands that may present risk to system stability.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
command (str): The shell command to check.
|
command (str): The shell command to check.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user