Skip to content

Interactive mode proof of concept - #30832

Closed
maridematte wants to merge 13 commits into
dotnet:mainfrom
maridematte:dotnetNew-interactive
Closed

maridematte wants to merge 13 commits into
dotnet:mainfrom
maridematte:dotnetNew-interactive

Conversation

@maridematte

@maridematte maridematte commented Feb 24, 2023 •

Copy link
Copy Markdown
Member

Implementing a first very basic pass on interactive mode. Mostly opt-in mechanism and where the interactive mode will be setup.
Currently it has a lot of hard-coded values that will stay until we get to the dynamic tree parsing for template inputs.

TODO:

  • basic tests
  • basic integration tests
  • localization
  • correct template resolution ( STRONGLY RECOMMENDED )

Missing features:

  • asking for template name(?)
  • types of parameters
  • choices for restricted types
  • validation of entered value
  • skipping next parameters
  • check if there are any template parameters are already entered
  • configuring which parameters to show (required, optional)

@baronfel

Copy link
Copy Markdown
Member

I added a bit of visual flair to this PR so it made nice screenshots, and tweaked the display of choice and boolean parameters. Here's what it looks like with the web template:

image

We definitely don't have to treat this layout as the final one, but I wanted things to pop a bit for demos :)

@baronfel

Copy link
Copy Markdown
Member

After removing that errant newline:

image

@vlada-shubina vlada-shubina added the Area-dotnet new the item is related to dotnet new command label May 22, 2023
@vlada-shubina
vlada-shubina force-pushed the dotnetNew-interactive branch from 8e6e4d9 to 4048207 Compare May 23, 2023 08:35
@github-actions

Copy link
Copy Markdown
Contributor

Due to lack of recent activity, this PR has been labeled as 'Stale'. It will be closed if no further activity occurs within 7 more days. Any new comment will remove the label.

@github-actions github-actions Bot added the stale label Sep 22, 2025
@github-actions github-actions Bot closed this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-dotnet new the item is related to dotnet new command stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants