1
0
mirror of https://github.com/gluster/glusterd2.git synced 2026-02-05 12:45:38 +01:00
Files
glusterd2/glustercli/main.go
Oshank Kumar 02e35a95e0 cli: Refactor some of glustercli code
Signed-off-by: Oshank Kumar <okumar@redhat.com>
2018-08-08 12:38:17 +05:30

19 lines
276 B
Go

package main
import (
"fmt"
"os"
"github.com/gluster/glusterd2/glustercli/cmd"
)
func main() {
// Migrate old format Args into new Format. Modifies os.Args[]
argsMigrate()
if err := cmd.NewGlustercliCmd().Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}