Enhance GN's "desc" command to support configs.

Reworks the flow to duplicate things a bit less in the "overview output" and
"one thing" output mode.

Supports wildcards in the output like most other introspection commands.

Consolidates help and switch value for "all-toolchains"

Removed colons from desc headings. These were inconsistent and I've been moving away from these in the help and other places where we use indenting for hierarchy anyway.

Header printing is also more consistent. Previously if you asked for one variable, sometimes you would get a header and sometimes you wouldn't, depending on the type. Now it will consistently elide headers.

Review-Url: https://codereview.chromium.org/1934003002
Cr-Original-Commit-Position: refs/heads/master@{#392700}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: eda2744e306d07f7bee6a25b3961a3bcabb9de17
7 files changed
tree: 4c5120db0f91fc2a17ce806142ab5dd9062005d4
  1. tools/