Migrate from urfave/cli to cobra (#1385)

This commit is contained in:
Ta-Ching Chen
2019-11-08 21:22:00 +08:00
committed by GitHub
parent 4b456db517
commit 1888cd2ac7
66 changed files with 2901 additions and 1130 deletions
-22
View File
@@ -98,25 +98,3 @@ type (
errorCode int
)
//const (
// ErrorInternal = iota
//
// ErrorNotAuthorized
// ErrorNotFound
// ErrorNameExists
// ErrorInvalidArgument
// ErrorNoSpace
// ErrorNotImplmented
//)
//
//// must match order and len of the above const
//var errorDescriptions = []string{
// "Internal error",
// "Not authorized",
// "Resource not found",
// "Resource exists",
// "Invalid argument",
// "No space",
// "Not implemented",
//}