Migrate from urfave/cli to cobra (#1385)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user