Improve CLI

This commit is contained in:
AntoineH 2024-09-05 15:39:17 +02:00
parent 583f5e2933
commit d3691b10db
10 changed files with 72 additions and 58 deletions

View file

@ -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()
},
}