summaryrefslogtreecommitdiff
path: root/cli/cros/__init__.py
diff options
context:
space:
mode:
authorDavid Pursell <dpursell@chromium.org>2015-03-18 09:51:38 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-03-23 08:39:01 +0000
commitf1c27c14ee2150d4c86843eb1b2be0b1ab59acfc (patch)
tree56a2d5c0d131849a91820603f1b528500d8a1003 /cli/cros/__init__.py
parent31c1b18c284bad42e0353a5b8d7d344e86bf6fba (diff)
downloadchromite-f1c27c14ee2150d4c86843eb1b2be0b1ab59acfc.tar.gz
cli: Refactor the cli/command.py module.
In a previous CL, the chromite/cli package was created and files were copied over from chromite/cros directly without modification (in order to help gerrit track file movement). This CL cleans up the new package structure and modifies import paths appropriately throughout chromite to make the new cli package functional. The main cleanup here is the removal of code in __init__.py files, which is confusing and in this case unnecessary. The code is instead put into a command.py module containing the high-level code to create and find CLI commands. BUG=brillo:557 TEST=cbuildbot/run_tests Change-Id: Ie9dc29585810206eed0e386fa056ceffdf9289a3 Reviewed-on: https://chromium-review.googlesource.com/261181 Reviewed-by: David Pursell <dpursell@chromium.org> Commit-Queue: David Pursell <dpursell@chromium.org> Trybot-Ready: David Pursell <dpursell@chromium.org> Tested-by: David Pursell <dpursell@chromium.org>
Diffstat (limited to 'cli/cros/__init__.py')
-rw-r--r--cli/cros/__init__.py0
1 files changed, 0 insertions, 0 deletions
diff --git a/cli/cros/__init__.py b/cli/cros/__init__.py
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/cli/cros/__init__.py