[flutter_tools] hide all development tools (#57690)

This commit is contained in:
Jonah Williams
2020-05-27 10:10:19 -07:00
committed by GitHub
parent 43f18f36ef
commit ffc56ff735
5 changed files with 35 additions and 10 deletions

View File

@@ -89,8 +89,6 @@ Future<void> main(List<String> args) async {
EmulatorsCommand(),
FormatCommand(),
GenerateCommand(),
IdeConfigCommand(hidden: !verboseHelp),
InjectPluginsCommand(hidden: !verboseHelp),
InstallCommand(),
LogsCommand(),
MakeHostAppEditableCommand(),
@@ -100,14 +98,17 @@ Future<void> main(List<String> args) async {
ScreenshotCommand(),
ShellCompletionCommand(),
TestCommand(verboseHelp: verboseHelp),
TrainingCommand(),
UpdatePackagesCommand(hidden: !verboseHelp),
UpgradeCommand(),
VersionCommand(),
SymbolizeCommand(
stdio: globals.stdio,
fileSystem: globals.fs,
),
// Development-only commands. These are always hidden,
IdeConfigCommand(),
InjectPluginsCommand(),
TrainingCommand(),
UpdatePackagesCommand(),
], verbose: verbose,
muteCommandLogging: muteCommandLogging,
verboseHelp: verboseHelp,