microsoft / microsoft/aspire

Calling `aspire new` on repo with existing files fails

Open
#11,494 2 comments 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

Calling `aspire new` with a single-file app on a project that already contains files fails. We should probably have some sort of `--force` flag here?

```
$ aspire new
Enter the project name (aspire-11474): aspire-11474
Enter the output path: (./aspire-11474): .
📦 Using project templates version: 9.5.0-preview.1.25468.13
❌ The new project cannot be created because it would overwrite existing files in the output folder. Please remove or move the conflicting files, or choose a different location.
```

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.