Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKxGW1raAWaqeU8WdHsMsp
15 lines
422 B
Bash
Executable File
15 lines
422 B
Bash
Executable File
#!/bin/bash
|
|
# omarchy:summary=Show configured registry for each development ecosystem
|
|
# omarchy:examples=omarchycn dev-mirror list
|
|
|
|
set -euo pipefail
|
|
|
|
source "$OMARCHY_PATH/cn/lib/dev-mirror.sh"
|
|
|
|
printf '%-8s %-52s %s\n' "TARGET" "CURRENT" "CONFIG"
|
|
|
|
for target in "${CN_DM_TARGETS[@]}"; do
|
|
current=$("cn_dm_get_$target")
|
|
printf '%-8s %-52s %s\n' "$target" "${current:-<default>}" "$(cn_dm_config_file "$target")"
|
|
done
|