summaryrefslogtreecommitdiff
path: root/cli/cros/__init__.py
AgeCommit message (Collapse)Author
2015-03-23cli: Refactor the cli/command.py module.David Pursell
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>