Complete docs

This commit is contained in:
Manuele Sarfatti 2025-05-11 16:11:30 +02:00
parent f53afe80c9
commit 76e2ad7db7
7 changed files with 718 additions and 29 deletions

21
demo/carbon.sh Executable file
View file

@ -0,0 +1,21 @@
#!/usr/bin/env bash
. beddu.sh
line
pen purple "Hello, I'm your IP helper, here to help you will all your IP needs."
line
choose action "What would you like to do?" "Get my IP" "Get my location"
case "$action" in
"Get my IP")
run --out ip curl ipinfo.io/ip
line; pen "Your IP is $ip"
;;
"Get my location")
run --out location curl -s ipinfo.io/loc
line; pen "Your coordinates are $location"
;;
esac