-
Notifications
You must be signed in to change notification settings - Fork 12k
Show default values for each command flag #17191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Just to add a little more context, there are several different kinds of "defaults" in builders.
So including the text I definitely agree that we should be more transparent about this, but whatever solution we come up with here needs to take all these different configurations into account. |
Over a year old and I am still opening JSON schema files to find default values. Just saying. Even with the latest "prod by default" I am not certain. Would really help. Maybe we can extend this and integrate into Editors for example in VS Code showing the default value as an annotation like Gitlens shows the edit history next to a line. Would love this. VS Code btw has this issue as well, where when I am overriding values with its default value ^^, IDK. |
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends. Find more details about Angular's feature request process in our documentation. |
Thank you for submitting your feature request! Looks like during the polling process it didn't collect a sufficient number of votes to move to the next stage. We want to keep Angular rich and ergonomic and at the same time be mindful about its scope and learning journey. If you think your request could live outside Angular's scope, we'd encourage you to collaborate with the community on publishing it as an open source package. You can find more details about the feature request process in our documentation. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🚀 Feature request
Today I started a new NG9 project and first things first I have set up CLI commands, packages and so on. While doing that, I was wondering what defaults are being set by the CLI and couldn't find any reference in the docs.
Let's say
ng serve --hmr
, is HMR not enabled by default? Those are questions I ask myself and I think others that are starting with NG as well. To make that easier. We should add the default value behind every flag:At the moment my command looks like that:
Because I'm not sure if any of them are true by default. Sure, I expect them to be true but I'm not sure. My previous projects were developed through Ionic CLI which had handled that
ng serve
under the hood.Command (mark with an
x
)Describe alternatives you've considered
A note in the docs
The text was updated successfully, but these errors were encountered: