Skip to content

Give optics quickstart a non-interactive mode #492

Description

@chinmayajha

`optics quickstart` is the documented golden path, but it has no flags beyond `-h` — no `--yes`, `--platform`, `--name`, or `--template`. That means it can't be smoke-tested in CI or scripted for a repeatable demo without piping raw stdin and hoping the prompt count matches, which is fragile.

(This is also what made an earlier infinite-loop bug in the project-name-collision path so easy to hit by accident — see the fix for that in a separate PR. A non-interactive mode would make that whole class of bug far less scary to run into in the field.)

Ask: a minimal `--yes` (accept every default) plus `--platform`/`--template`/`--name` would let teams CI-smoke-test onboarding itself.

Found during a from-scratch onboarding audit (optics-framework 1.10.0).

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions