Skip to content

Conversation

@aman-coder03
Copy link

Summary

adds a --yes / -y flag to mscolab db commands to allow non-interactive usage.

details

extends confirm_action with an assume_yes parameter
preserves existing interactive behavior
enables CI and tutorial workflows

Closes #2376

@aman-coder03 aman-coder03 force-pushed the mscolab-seed-noninteractive branch from e9a3ef5 to 6b3f7f4 Compare January 2, 2026 08:54
@ReimarBauer
Copy link
Member

ReimarBauer commented Jan 2, 2026

Hi @aman-coder03 code looks fine, please also mention this in mscolab.rst for the reset / seed in the documentation
and also use the functionality in https://github.com/Open-MSS/MSS/blob/develop/tutorials/start_tutorial.sh#L44

The init is a different issue for a different branch fix, don't touch it in this one ;)

@aman-coder03
Copy link
Author

thanks for the review!
i have documented the --yes / -y flag for mscolab db --reset and
mscolab db --seed in mscolab.rst.
i will also update start_tutorial.sh to use the non-interactive flag.

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.

mscolab seed database should get over the Y/N prompt

2 participants