*cmdDef = append(*cmdDef, cli.Command{
Name: "exec",
Usage: "execute a command in XDS",
- Action: exec,
+ Action: execCmd,
Flags: []cli.Flag{
cli.StringFlag{
Name: "id",
})
}
-func exec(ctx *cli.Context) error {
+func execCmd(ctx *cli.Context) error {
prjID := ctx.String("id")
rPath := ctx.String("rpath")
sdkid := ctx.String("sdkid")