refactor: demo tools/agents (#67)

This commit is contained in:
sigoden
2024-07-09 21:17:12 +08:00
committed by GitHub
parent 0dbdc9e710
commit 02e335c995
11 changed files with 116 additions and 32 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -e
# @cmd Get the system info
get_sysinfo() {
echo "OS: $(uname)"
echo "Arch: $(arch)"
echo "User: $USER"
}
# See more details at https://github.com/sigoden/argc
eval "$(argc --argc-eval "$0" "$@")"