feat: interactive layer selection, MINO_LAYERS env, progress UX#12
Merged
feat: interactive layer selection, MINO_LAYERS env, progress UX#12
Conversation
added 3 commits
February 17, 2026 22:26
When `mino run` is invoked interactively with no layers, image, or config, prompt the user to select development tool layers via a multiselect picker. After selection, offer to save the choice to local .mino.toml or global config.
…tput - Animated braille spinner (⠋⠙⠹⠸⠼⠴⠦⠧⠇⠏) at 120ms tick - Elapsed timer on right side of progress bar - Stream non-step Podman output as message (filtered via is_build_noise()) - disable_steady_tick() called on finish
CI, IDE plugins, and parent processes can set MINO_LAYERS=rust,typescript to specify layers without a config file or --layers flag every invocation. Precedence: CLI --layers > --image > MINO_LAYERS env > config layers. Manual env read avoids clap conflict with --image (env= attribute would error when MINO_LAYERS is set and --image is passed).
3 tasks
Repository owner
locked and limited conversation to collaborators
Feb 21, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
--layers/--imageCLI args and no config layers exist, prompts users to select development tool layers (multiselect) with option to save to.mino.tomlor global configMINO_LAYERSenv var: Non-interactive callers (CI, IDE plugins, parent processes) can setMINO_LAYERS=rust,typescriptto specify layers without a config file or--layersflag. Precedence: CLI--layers>--image>MINO_LAYERS> config layersis_build_noise())Design decisions
MINO_LAYERSis read manually (not via clapenvattribute) to avoid conflict errors when bothMINO_LAYERSand--imageare presentparse_layers_env()extracted as pure function for testability withoutstd::env::set_varin parallel testsfedora:43Test plan
cargo clippy— zero warningscargo test— 190 unit + 10 integration tests passMINO_LAYERS=typescript mino run— uses typescript layerMINO_LAYERS=typescript mino run --image fedora:43— uses fedora, no conflict errorMINO_LAYERS=typescript mino run --layers rust— CLI wins, uses rustmino run(no config, interactive terminal) — shows layer picker