Projects / bootwitch-cli-code-excerpts-documentation-refresh
From a new script to its README entry
bootwitch-clidevtools-and-workflows
This runs once the script has been created. It starts the README builder and reports how that second step went. If the refresh needs another try, the new script stays available and the message gives you the documentation-only retry command.
# Creation is complete: a documentation failure must never remove the script.
# A separate Bash process retains the builder's own strict error handling.
if /bin/bash "$PROJECT_ROOT/wrappers/build_readme.command"; then
return 0
fi
printf 'new-script: Script created, but README refresh failed: %s/%s.sh\n' "$script_area" "$script_name" >&2
printf 'Fix the README builder error above, then retry: bash %q\n' "$PROJECT_ROOT/wrappers/build_readme.command" >&2
return 3
Read the full source · Snapshot 7bce28e8b273.