Problem. --help exits 1 (no real help branch); --version does not exist; version drift is invisible (manifest 0.13.0 while the package is on 0.14.0).
Evidence. src/Console/StandaloneApplication.php:45-54 run() only branches check/scaffold/generate.
Fix. Handle --help (print usage, exit 0) and --version before subcommand dispatch; for --version, read Composer\InstalledVersions::getPrettyVersion('codewithagents/openapi-laravel') so it never drifts from the published tag.
Done when. --help exits 0 with usage; --version prints the installed version.
Filed from a repo-wide improvement audit; every claim was adversarially verified against source.
Problem.
--helpexits 1 (no real help branch);--versiondoes not exist; version drift is invisible (manifest0.13.0while the package is on0.14.0).Evidence.
src/Console/StandaloneApplication.php:45-54run()only branches check/scaffold/generate.Fix. Handle
--help(print usage, exit 0) and--versionbefore subcommand dispatch; for--version, readComposer\InstalledVersions::getPrettyVersion('codewithagents/openapi-laravel')so it never drifts from the published tag.Done when.
--helpexits 0 with usage;--versionprints the installed version.Filed from a repo-wide improvement audit; every claim was adversarially verified against source.