Skip to content

[eas-cli] Add --value flag to build:version:set for non-interactive mode#3395

Draft
brentvatne wants to merge 1 commit intomainfrom
claude/slack-add-ascappid-prompt-jqoVY
Draft

[eas-cli] Add --value flag to build:version:set for non-interactive mode#3395
brentvatne wants to merge 1 commit intomainfrom
claude/slack-add-ascappid-prompt-jqoVY

Conversation

@brentvatne
Copy link
Member

This allows running eas build:version:set non-interactively with a value flag, e.g., eas build:version:set -p android -v 130.

https://claude.ai/code/session_017bU3cyvFhpnHnqqZFqnyVH

Why

Requested here: https://x.com/devth/status/2021745057511190817

In general, we want to support non-interactive mode throughout EAS CLI.

How

  • Add --value/-v flag to specify version value directly
  • Add --non-interactive flag following existing CLI patterns (this is a bit of a weird thing in EAS CLI, but that is an issue for another day). Providing --value implies non-interactive mode

Test Plan

  • Unit tests
  • Run the code and test it end to end

This allows running `eas build:version:set` non-interactively with a
value flag, e.g., `eas build:version:set -p android -v 130`.

- Add `--value/-v` flag to specify version value directly
- Add `--non-interactive` flag following existing CLI patterns
- Providing `--value` implies non-interactive mode
- Platform-specific validation for the provided value
- Add comprehensive tests for non-interactive mode

https://claude.ai/code/session_017bU3cyvFhpnHnqqZFqnyVH
@github-actions
Copy link

❌ It looks like a changelog entry is missing for this PR. Add it manually to CHANGELOG.md.
⏩ If this PR doesn't require a changelog entry, such as if it's an internal change that doesn't affect the user experience, you can add the "no changelog" label to the PR.

@brentvatne
Copy link
Member Author

/changelog-entry new-feature Add --value flag for build:version:set to support usage in non-interactive mode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants