Skip to content

Improve apify call input UX#1212

Merged
patrikbraborec merged 4 commits into
masterfrom
fix/call-input-help-ux
Jun 26, 2026
Merged

Improve apify call input UX#1212
patrikbraborec merged 4 commits into
masterfrom
fix/call-input-help-ux

Conversation

@patrikbraborec

@patrikbraborec patrikbraborec commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Expand apify call --input help to clarify inline JSON object usage, shell quoting, and --input-file for file input.
  • Add call-scoped schema-discovery hints for parse/path/object-shape input errors.
  • Regenerate CLI reference docs and cover the new hint behavior with local tests.

Closes #1210

@github-actions github-actions Bot added this to the 143rd sprint - DX team milestone Jun 23, 2026
@github-actions github-actions Bot added t-dx Issues owned by the DX team. tested Temporary label used only programatically for some analytics. labels Jun 23, 2026
Comment thread src/commands/actors/call.ts Outdated
Comment thread src/commands/actors/call.ts Outdated

@l2ysho l2ysho left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Comment thread src/lib/commands/resolve-input.ts Outdated

@DaveHanns DaveHanns left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit, otherwise LGTM 🚀

A JSON file path in --input is a wrong-flag mistake, not invalid input
JSON, so the schema hint doesn't apply there.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@patrikbraborec patrikbraborec force-pushed the fix/call-input-help-ux branch from 442fe2e to 27d7ba2 Compare June 26, 2026 11:30
@patrikbraborec patrikbraborec merged commit 20953e0 into master Jun 26, 2026
18 of 24 checks passed
@patrikbraborec patrikbraborec deleted the fix/call-input-help-ux branch June 26, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-dx Issues owned by the DX team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve apify call --input help/UX to cut avoidable input failures

5 participants