Repository: flutter
Issue: `flutter create --help | less` should have better formatting
Labels: c: new feature,tool,a: quality,c: proposal,P3,team-tool,triaged-tool

Related: https://github.com/flutter/flutter/issues/23074, https://github.com/flutter/flutter/issues/36484.

When piping flutter help to a pager, the text becomes less readable. Apparently if you don't pipe help, the output is well formatted.

Here is the output of `flutter create --help | fold -w 80 | pbcopy`. This is to indicate what a user's experience might be like if they ran `flutter create --help | less` on a terminal with 80 width.

```
Create a new Flutter project.

If run on a project that already exists, this will repair the project, recreatin
g any files that are missing.

Usage: flutter create <output directory>
-h, --help                     Print this usage information.
    --[no-]pub                 Whether to run "flutter pub get" after the projec
t has been created.
                               (defaults to on)

    --[no-]offline             When "flutter pub get" is run by the create comma
nd, this indicates whether to run it in offline mode or not. In offline mode, it
 will need to have all dependencies already available in the pub cache to succee
d.
    --[no-]with-driver-test    Also add a flutter_driver dependency and generate
 a sample 'flutter drive' test.
-t, --template=<type>          Specify the type of project to create.

          [app]                (default) Generate a Flutter application.
          [package]            Generate a shareable Flutter project containing m
odular Dart code.
          [plugin]             Generate a shareable Flutter project containing a
n API in Dart code with a platform-specific implementation for Android, for iOS 
code, or for both.

-s, --sample=<id>              Specifies the Flutter code sample to use as the m
ain.dart for an application. Implies --template=app. The value should be the sam
ple ID of the desired sample from the API documentation website (http://docs.flu
tter.dev). An example can be found at https://master-api.flutter.dev/flutter/wid
gets/SingleChildScrollView-class.html
    --list-samples=<path>      Specifies a JSON output file for a listing of Flu
tter code samples that can created with --sample.
    --[no-]overwrite           When performing operations, overwrite existing fi
les.
    --description              The description to use for your new Flutter proje
ct. This string ends up in the pubspec.yaml file.
                               (defaults to "A new Flutter project.")

    --org                      The organization responsible for your new Flutter
 project, in reverse domain name notation. This string is used in Java package n
ames and as prefix in the iOS bundle identifier.
                               (defaults to "com.example")

    --project-name             The project name for this new Flutter project. Th
is must be a valid dart package name.
-i, --ios-language             [objc (default), swift]
-a, --android-language         [java (default), kotlin]
    --[no-]androidx            Generate a project using the AndroidX support lib
raries

Run "flutter help" to see global options.
```

I found a solution, but I ask for your opinion, if this should be the correct solution.

```
> brew install expect
> unbuffer flutter create --help | less
```