brillo: Remove Brillo CLI entry points.
Remove the `brillo` CLI command and all subcommands. Also remove `cros
devices` since that was a brillo-specific feature that is no longer
useful.
Next will be to remove brillo-specific libraries and any references to
them.
BUG=chromium:507323
TEST=cbuildbot/run_tests
TEST=`cros` still works as expected.
TEST=`brillo` is no longer available.
Change-Id: I8cc26b6c63c90088acc65b130b865ac1d7b87c5d
Reviewed-on: https://chromium-review.googlesource.com/283111
Reviewed-by: Bertrand Simonnet <bsimonnet@google.com>
Reviewed-by: Steve Fung <stevefung@chromium.org>
Commit-Queue: David Pursell <dpursell@chromium.org>
Trybot-Ready: David Pursell <dpursell@chromium.org>
Tested-by: David Pursell <dpursell@chromium.org>
diff --git a/scripts/cros.py b/scripts/cros.py
index 0fd5e45..81175d3 100644
--- a/scripts/cros.py
+++ b/scripts/cros.py
@@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-"""This implements the entry point for CLI toolsets `cros` and `brillo`.
+"""This implements the entry point for the `cros` CLI toolset.
-This script is invoked by chromite/bin/{cros,brillo}, which sets up the
+This script is invoked by chromite/bin/cros, which sets up the
proper execution environment and calls this module's main() function.
In turn, this script looks for a subcommand based on how it was invoked. For
@@ -26,11 +26,6 @@
def GetOptions(my_commands):
"""Returns the argparse to use for commandline parsing."""
parser = commandline.ArgumentParser(caching=True, default_log_level='notice')
- if command.GetToolset() == 'brillo':
- # For brillo commands, we want to store the logs to a file for error
- # handling at logging level notice.
- command.SetupFileLogger()
-
if not command:
return parser