aboutsummaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorAhmed <git@gumx.cc>2026-06-20 00:07:58 +0300
committerAhmed <git@gumx.cc>2026-06-20 00:07:58 +0300
commitf0b79f27b7f17e3862285e01b71aad30cb25cd89 (patch)
tree47b3e67d55a98c089ce16d77cb55ff04f5f3b216 /cli
parentba5a9613f6c5b7d9b5f7eb7add147a9bdb8b6a44 (diff)
fix: bunch of vibed edits to fix vibed edits
Diffstat (limited to 'cli')
-rw-r--r--cli/README.md6
-rwxr-xr-xcli/ugi6
2 files changed, 6 insertions, 6 deletions
diff --git a/cli/README.md b/cli/README.md
index 478c178..2b0c189 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -5,8 +5,8 @@ Command-line tool for encoding, decoding, and converting UGI (Unified Geek Ident
## Dependencies
- **bash** 4.0+
-- **jq** — [jqlang.github.io/jq](https://jqlang.github.io/jq/)
-- **ugi_registry_v0.json** — from [ugi-spec](https://git.sr.ht/~gumxcc/ugi-spec)
+- **jq**: [jqlang.github.io/jq](https://jqlang.github.io/jq/)
+- **ugi_registry_v0.json**: from [ugi-spec](https://git.sr.ht/~gumxcc/ugi-spec)
## Setup
@@ -115,4 +115,4 @@ The test runner validates decode output (version, handle, field labels) and conv
## License
-MIT — see [LICENSE](./LICENSE).
+MIT. see [LICENSE](./LICENSE).
diff --git a/cli/ugi b/cli/ugi
index 16fca01..9b5d4e0 100755
--- a/cli/ugi
+++ b/cli/ugi
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-# ugi — encode, decode, and convert UGI strings
+# ugi: encode, decode, and convert UGI strings
set -euo pipefail
VERSION="0.1.0"
@@ -473,7 +473,7 @@ list_fields() {
# Reserved codes
jq -r '.format.reserved_codes[]' "$REGISTRY" 2>/dev/null | sort | while read -r code; do
- printf "%-6s %-25s %-15s %s\n" "$code" "(reserved)" "—" "—"
+ printf "%-6s %-25s %-15s %s\n" "$code" "(reserved)" "-" "-"
done
}
@@ -597,7 +597,7 @@ encode_interactive() {
usage() {
cat <<'EOF'
-ugi — UGI (Unified Geek Identifier) CLI tool
+ugi: UGI (Unified Geek Identifier) CLI tool
Usage:
ugi decode <ugi-string> Decode a UGI string (URI or block)