feat: prompt confirmation for fs write operations outside cwd (#90)
This commit is contained in:
+1
-3
@@ -3,12 +3,10 @@ set -e
|
||||
|
||||
# @describe List all files and directories at the specified path.
|
||||
|
||||
# @env FS_BASE_DIR=. The base dir
|
||||
# @option --path! The path of the directory to list
|
||||
|
||||
main() {
|
||||
path="$FS_BASE_DIR/$argc_path"
|
||||
ls -1 "$path" >> "$LLM_OUTPUT"
|
||||
ls -1 "$argc_path" >> "$LLM_OUTPUT"
|
||||
}
|
||||
|
||||
eval "$(argc --argc-eval "$0" "$@")"
|
||||
|
||||
Reference in New Issue
Block a user