1
0
Fork 0

aichat: configure functions

This commit is contained in:
Luca Bilke 2025-02-26 16:34:58 +01:00
parent 4cfbe7d77f
commit 61c9006354
Signed by: luca
GPG key ID: F6E11C9BAA7C82F5
4 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1 @@
coder

View file

@ -0,0 +1,13 @@
ansible_list_plugins.sh
ansible_get_plugin_docs.sh
execute_py_code.py
fetch_url_via_curl.sh
fs_cat.sh
fs_ls.sh
fs_mkdir.sh
fs_patch.sh
fs_rm.sh
search_arxiv.sh
search_wikipedia.sh
search_wolframalpha.sh
web_search.sh

View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
# @describe Retrieve the documentation for an ansible module
# @option --module! The name of a module in the form of namespace.collection.module
# @env LLM_OUTPUT=/dev/stdout The output path
main() {
ansible-doc "$argc_module" >> "$LLM_OUTPUT"
}
eval "$(argc --argc-eval "$0" "$@")"

View file

@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -e
# @describe List available ansible modules, optionally filtering by collection
# @option --filter A collection name in form of namespace.collection
# @env LLM_OUTPUT=/dev/stdout The output path
main() {
ansible-doc --list "$argc_filter" >> "$LLM_OUTPUT"
}
eval "$(argc --argc-eval "$0" "$@")"