Skip to content

FlutterCommand.usage should write to Logger by default, not global print. #158532

@matanlurey

Description

@matanlurey

At least one command made its own test fixture and override:

... because the default behavior of --help for a command is to use Command.printUsage, which uses print.

This seems like something FlutterCommand should do out of the box instead of being on a per-command basis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: tech-debtTechnical debt, code quality, testing, etc.team-toolOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions