Improve CLI
This commit is contained in:
parent
583f5e2933
commit
d3691b10db
10 changed files with 72 additions and 58 deletions
|
@ -22,10 +22,9 @@ import (
|
|||
// getJointsCmd represents the getJoints command
|
||||
var getJointsCmd = &cobra.Command{
|
||||
Use: "getJoints",
|
||||
Short: "getJoints command descritpion",
|
||||
Long: `getJoints command descritpion`,
|
||||
Short: "Retreive motor positions",
|
||||
Long: `Retreive the positions of the motor controlled by Motor Controller server`,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
// fmt.Println("getJoints called")
|
||||
GetJoints()
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue