Implemented new commands: list, show, uninstall & update; minor improvements to code

This commit is contained in:
Ivan Kravets committed 2014-06-13 20:47:02 +03:00
1 parent bddb9237e2
commit 027c3d0e5e
9 files changed
+192 -38

No files matched your search

+6 -5
View File
@@ -18,6 +18,12 @@ class UnknownPlatform(PlatformioException):
MESSAGE = "Unknown platform '%s'"
class PlatformNotInstalledYet(PlatformioException):
MESSAGE = ("The platform '%s' has not been installed yet. "
"Use `platformio install` command")
class UnknownCLICommand(PlatformioException):
MESSAGE = "Unknown command '%s'"
@@ -33,11 +39,6 @@ class InvalidPackageVersion(PlatformioException):
MESSAGE = "The package '%s' with version '%d' does not exist"
class PackageInstalled(PlatformioException):
MESSAGE = "The package '%s' is installed already"
class NonSystemPackage(PlatformioException):
MESSAGE = "The package '%s' is not available for your system '%s'"