Skip to content

config list --all doesn't work if there is no config at all set #15820

@maddymontaquila

Description

@maddymontaquila

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

If you have a fresh install of Aspire, and you have no config (either global or local) set, aspire config list --all doesn't work. It errors out with "ℹ No configuration values found." and doesn't list the full available feature list.

Expected Behavior

If you run aspire config list and nothing is found, it should have the same error, but also say "Run aspire config list --all to se e available features" (same as when you run aspire config list usually and there is config)

If you run aspire config list --all and nothing is found, it should still show the available feature flags.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

No response

Metadata

Metadata

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions