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
+2 -9
View File
@@ -17,16 +17,9 @@ limitations under the License.
package main
import (
"fmt"
"os"
fcli "github.com/fission/fission/pkg/fission-cli"
"github.com/fission/fission/cmd/fission-cli/app"
)
func main() {
err := fcli.NewCliApp().Run(os.Args)
if err != nil {
fmt.Printf("Error: %v\n", err.Error())
os.Exit(1)
}
app.App().Execute()
}