PROD-2195 / PROD-2196: remove deprecated system args, fix --help, correct README#163
Merged
Conversation
…rect README PROD-2195 (system-args cleanup): - Remove CLI flags: --rootPath, --insecure, --legacyFolders, --local, --preprod, --locale (keep --locales), --preview, --baseURL, --model (keep --models), --test, --dryRun, --force, --update/--forceUpdate, --reset - Collapse the now-dead code paths (insecure/SSL, reset, dryRun, test mode, legacy folders, local/preprod env modes); downloaders always re-download - Fix self-referential aliases that hid --sourceGuid/--targetGuid/--overwrite/ --autoPublish from --help; expand their help text - Keep state.rootPath/baseUrl/preview as fixed internals the code still needs - Update affected unit tests; add --help regression tests PROD-2196 (README accuracy, reconciled with the flag removals above): - --overwrite documented as conflict-scoped (matches the pushers) - --models-with-deps documented as including pages + templates - pull --sourceGuid marked optional with AGILITY_GUID fallback - Document surviving flags (--channel/--token/--dev/--contentIDs/--pageIDs); do not re-add removed flags - --elements default now includes Sitemaps; env-var table corrected Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
jules-exel
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #162 (which was based on the now-outdated
PROD-2195-2196branch — it documented flags that this PR removes).PROD-2195 — system-args cleanup
Removed the following CLI flags and collapsed their code paths:
--rootPath,--insecure,--legacyFolders,--local,--preprod,--locale(kept--locales),--preview,--baseURL,--model(kept--models),--test,--dryRun,--force,--update/--forceUpdate,--reset.state.updateremoved).state.rootPath/state.baseUrl/state.previewkept as fixed internal values the code still needs (the user-facing flags are gone).--helpbug:--sourceGuid,--targetGuid,--overwrite,--autoPublishwere silently hidden from--helpbecause each listed its own key name as an alias. Removed the self-referential aliases and expanded their help text.describe.PROD-2196 — README accuracy (reconciled with the removals above)
--overwritedocumented as conflict-scoped (verified against the pushers).--models-with-depsdocumented as including pages + templates (verified against the dependency-tree builder).--sourceGuidmarked optional withAGILITY_GUIDfallback.--channel,--token,--dev,--contentIDs,--pageIDs); did not re-add removed flags.--elementsdefault now includesSitemaps.AGILITY_MODELS_WITH_DEPS(never primed by the code) and addedAGILITY_DEV.Verification
tscbuild clean.agility pull/sync --helpnow renders all four previously-hidden flags with accurate descriptions.🤖 Generated with Claude Code