chore: update ontology
This commit is contained in:
parent
d2b361420b
commit
97ef96f3d8
@ -131,6 +131,7 @@ let d = import "../ontology/defaults/core.ncl" in
|
||||
level = 'Practice,
|
||||
description = "Migration system for onboarding existing projects into the ontoref protocol. Provides .ontology/ stub templates, .ontoref/config.ncl template, scripts/ontoref thin wrapper, and the adopt_ontoref mode+form+script that wire everything up idempotently.",
|
||||
artifact_paths = [
|
||||
"ontoref",
|
||||
"templates/ontology/",
|
||||
"templates/ontoref-config.ncl",
|
||||
"templates/scripts-ontoref",
|
||||
|
||||
@ -25,7 +25,7 @@ let d = import "../ontology/defaults/state.ncl" in
|
||||
to = "protocol-stable",
|
||||
condition = "ADR-001 accepted, ontoref.dev published, at least two external projects consuming the protocol.",
|
||||
catalyst = "First external adoption.",
|
||||
blocker = "ontoref.dev not yet published; no external consumers yet.",
|
||||
blocker = "ontoref.dev not yet published; no external consumers yet. Entry point UX fixed (no-args usage message, bash set -u safety).",
|
||||
horizon = 'Months,
|
||||
},
|
||||
],
|
||||
|
||||
14
ontoref
14
ontoref
@ -247,11 +247,23 @@ if [[ "${ENV_ONLY}" -eq 1 ]]; then
|
||||
return 0 2>/dev/null || exit 0
|
||||
fi
|
||||
|
||||
# ── No-args usage ─────────────────────────────────────────────────────────────
|
||||
if [[ "${#REMAINING_ARGS[@]}" -eq 0 ]]; then
|
||||
_caller="$(basename "$0")"
|
||||
echo ""
|
||||
echo " ${_caller}"
|
||||
echo " Usage: ./${_caller} <command> [options]"
|
||||
echo ""
|
||||
echo " Use './${_caller} help' for available commands"
|
||||
echo ""
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# ── Rewrite help flags ────────────────────────────────────────────────────────
|
||||
# Transform --help, -help, -h anywhere in args into: help <preceding-args>
|
||||
_has_help=0
|
||||
_non_help_args=()
|
||||
for _a in "${REMAINING_ARGS[@]}"; do
|
||||
for _a in "${REMAINING_ARGS[@]+"${REMAINING_ARGS[@]}"}"; do
|
||||
case "${_a}" in
|
||||
--help|-help|-h) _has_help=1 ;;
|
||||
*) _non_help_args+=("${_a}") ;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user