Skip to content

Conversation

@IonBazan
Copy link
Contributor

@IonBazan IonBazan commented Sep 19, 2025

Fixes #12189

Adds non-interactive no-argument init command support and refactor tests. --name and --author arguments default to previously suggested values from interactive mode (current working directory and git author).

It also makes it easier to implement #11243 in the future if needed.

Test has been refactored to keep it DRY - using data providers where possible.

@IonBazan IonBazan force-pushed the feature/non-interactive-init branch 2 times, most recently from ce0925b to 09fa18c Compare September 19, 2025 04:08
@IonBazan IonBazan force-pushed the feature/non-interactive-init branch from 09fa18c to 11466f2 Compare September 19, 2025 04:11
@IonBazan IonBazan changed the title Allow non-interactive init Allow non-interactive init without input Sep 19, 2025
@Seldaek Seldaek added this to the 2.9 milestone Sep 19, 2025
@Seldaek Seldaek merged commit 50c6758 into composer:main Oct 28, 2025
20 of 21 checks passed
@Seldaek
Copy link
Member

Seldaek commented Oct 28, 2025

Thanks

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.

non interactive composer init without questions

2 participants