Skip to content

Fix instance:create in non-interactive mode#152

Merged
joetannenbaum merged 1 commit intomainfrom
fix/instance-create-non-interactive
Apr 21, 2026
Merged

Fix instance:create in non-interactive mode#152
joetannenbaum merged 1 commit intomainfrom
fix/instance-create-non-interactive

Conversation

@joetannenbaum
Copy link
Copy Markdown
Collaborator

instance:create had four fields with no CLI options and no fallbacks, so it threw in non-interactive mode even with the other flags set. Added --scaling-type, --uses-scheduler, --scaling-cpu-threshold-percentage, and --scaling-memory-threshold-percentage, and added nonInteractively fallbacks to six prompts matching the existing interactive defaults (scaling_type defaults to none, replicas to 1, thresholds to 50, scheduler to false). --name and --size get no fallback since there is no sensible default; the resolver already throws a clear "provide --name option" message.

Part of #47 (third of three, along with the websocket-cluster and websocket-application PRs).

@joetannenbaum joetannenbaum merged commit e311542 into main Apr 21, 2026
5 checks passed
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.

1 participant