Skip to content

Show default flag values for flutter config #81665

@Zazo032

Description

@Zazo032

Use case

Currently, running flutter config lists all available flags, but not its value or default value. For example:

--[no-]enable-web                            Enable or disable Flutter for web. This setting will take effect on the
                                                 master, dev, beta, and stable channels.
                                                 setting will take effect on the master, dev, beta, and stable channels.
                                                 Newer beta versions are available on the beta channel.

Proposal

Add some text to show the default value of the flag, for example:

--[no-]enable-web                            Enable or disable Flutter for web. This setting will take effect on the
                                                 master, dev, beta, and stable channels.
                                                 setting will take effect on the master, dev, beta, and stable channels.
                                                 Newer beta versions are available on the beta channel.
                                                 Defaults to `false`.

Metadata

Metadata

Assignees

Labels

P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterr: fixedIssue is closed as already fixed in a newer versionteam-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.tool-still-validIssues that have been deemed still valid as part of the Flutter Tools issue cleanup initiative.triaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions