Skip to content

Conversation

@masonlet
Copy link
Owner

Summary

Implement automatic interactive mode when no repository argument is provided, guiding users through configuration options via step-by-step prompts.

Features

  • Guides users through repo selection, SSH/HTTPS choice, build settings, and mono-repo configuration
  • Supports both single-repo and mono-repo workflows
  • Allows partial configuration via CLI flags with interactive completion
  • Shows default values for all prompts

Changes

  • Interactive Mode: Automatically triggers when starlet-setup is run without a repository argument
  • CLI Flag Preservation: Respects any flags already set via command line, skipping those prompts
  • Comprehensive Testing: 6 test cases covering all interactive mode paths and edge cases
  • Documentation: Update README with interactive mode usage examples

- Basic interactive CLI prompts when running starlet-setup without arguments.
- Guides users through repository selection, mode choice (single/mono-repo), and build configuration.
- CLI flags skip their corresponding prompts, allowing hybrid usage.
- Automatically triggers interactive prompts when repository argument is missing, allowing users to configure all options through guided inputs.
- Rename prompt functions to internal helpers (_ask, _ask_default, _ask_yesno)
- Updated interactive_mode to respect existing CLI flags and use defaults
- Update tests to ensure interactive mode is safe
- Minor-fix: default=false for --clean argument
- Add Interactive mode section with basic, advanced, and example usages
- Update table of contents with interactive mode link
@masonlet masonlet merged commit 47f38a7 into main Nov 18, 2025
1 check passed
@masonlet masonlet deleted the feature/interactive-mode branch November 18, 2025 03:47
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