microsoft / microsoft/aspire

Aspire CLI: new command arg forwarding

Open
#9,367 0 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

There's a lot of design decisions that need to be discussed as it relates to forwarding CLI arguments from `aspire new` to the `dotnet new`. For example, this command isn't supported:

```
aspire new aspire-starter -n AspireApp -o AspireApp --use-redis-cache
```

Nor is this command:

```
aspire new aspire-starter -n AspireApp -o AspireApp -- --use-redis-cache
```

One might assume that they could pass arguments that are known to be dotnet template args, but that's not the case. Should we prompt in the CLI for these values? Or should we just forward unmatched args to the underlying command?

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.