feat: make CLI agent-compatible with improved non-interactive support#115
Merged
feat: make CLI agent-compatible with improved non-interactive support#115
Conversation
Contributor
belopash
commented
Apr 14, 2026
- Add --help examples to all 15 commands that were missing them
- Fix actionable error messages with concrete example invocations
- Fix typo --allow--manifest-override (double dash) in deploy
- Add missing --allow-postgres-deletion flag to deploy command
- Fix init to fail fast when --template is missing in non-interactive mode
- Fix logs pagination to auto-fetch all pages in non-interactive mode
- Add interactive squid selection prompt to view command
- Add --json flag to list command for machine-parseable output
- Clean up --json output in view/list to strip manifest, packageJson, metrics
- Add structured success output (squid, deploy_id, duration) to deploy/remove/restart
- Improve --interactive flag description for clarity
- Add --help examples to all 15 commands that were missing them - Fix actionable error messages with concrete example invocations - Fix typo --allow--manifest-override (double dash) in deploy - Add missing --allow-postgres-deletion flag to deploy command - Fix init to fail fast when --template is missing in non-interactive mode - Fix logs pagination to auto-fetch all pages in non-interactive mode - Add interactive squid selection prompt to view command - Add --json flag to list command for machine-parseable output - Clean up --json output in view/list to strip manifest, packageJson, metrics - Add structured success output (squid, deploy_id, duration) to deploy/remove/restart - Improve --interactive flag description for clarity Made-with: Cursor
…ommands Bugs: - secrets/set: make `value` arg optional so stdin path is reachable - logs: fix --follow exclusive referencing nonexistent flag `fromDate` → `since` - view: guard processor progress against division by zero when totalBlocks=0 - deploy: fix typo "the they" in static help string Dead code: - deploy: remove commented-out example() line and stub isUrl "Not implemented" branch; drop stale FIXME comment - restart: remove self-aliased unused import - tags/add, tags/remove: remove unused formatSquidReference import - explorer: remove debug:true, commented-out screen options and disableMouse call, duplicate static hidden declaration - secrets/set: remove stale TODO comment - prod: remove stale TODO comment Inconsistencies: - secrets/list, secrets/set, secrets/remove: replace raw Flags.string org with SqdFlags.org - secrets/list: replace for...in with Object.entries - secrets/remove: use logSuccess instead of plain log - tags/remove: fix arg description "New tag to assign" → "Tag to remove" - list: print "No squids found" instead of silently exiting when result is empty - gateways/list: change .map() to .forEach() since return values were discarded - remove: use formatSquidReference for squid result line instead of manual string Safety / UX: - whoami: mask all but last 4 chars of token - run: pass error.message instead of Error object to this.error() - init: re-throw Dockerfile removal errors that are not ENOENT - auth: correct --key description URL to https://cloud.sqd.dev Made-with: Cursor
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.