/*
- * Copyright (C) 2017 "IoT.bzh"
+ * Copyright (C) 2017-2018 "IoT.bzh"
* Author Sebastien Douheret <sebastien@iot.bzh>
*
* Licensed under the Apache License, Version 2.0 (the "License");
"os"
"strings"
- "github.com/iotbzh/xds-agent/lib/xaapiv1"
+ "gerrit.automotivelinux.org/gerrit/src/xds/xds-agent.git/lib/xaapiv1"
"github.com/urfave/cli"
)
*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")
+ rPath := ctx.String("rpath")
sdkid := ctx.String("sdkid")
// Check mandatory args