microsoft / microsoft/aspire

`aspire new ... --non-interactive` fails without `--output`

Open
#15,841 1 comment 0 reactions 0 assignees View on GitHub
area-cli
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

```shell
aspire new aspire-starter -n SmokeApp --non-interactive
❌ An unexpected error occurred: Interactive input is not supported in this environment. Use the --non-interactive flag or ensure the CLI is running in an interactive terminal.
```

1- This should not suggest to use `--non-interactive` since it's provided
2- We should make it work with just a name (compute a unique foldern name if necessary, or use `./`)

I'd also wish we didn't require `--name`, for instance `dotnet new console` just works locally, using the current folder for the project name, we could behave the same way.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.