Added Get Operation and Bug Fixes
[ealt-edge.git] / ocd / cli / ealt / cmd / applcm.go
index 01057b5..2953041 100644 (file)
@@ -16,8 +16,6 @@ limitations under the License.
 package cmd
 
 import (
-       "fmt"
-
        applcmCmds "ealt/cmd/applcmpkg"
 
        "github.com/spf13/cobra"
@@ -26,21 +24,25 @@ import (
 // applcmCmd represents the applcm command
 var applcmCmd = &cobra.Command{
        Use:   "applcm",
-       Short: "A brief description of your command",
-       Long: `A longer description that spans multiple lines and likely contains examples
-and usage of using your command. For example:
-
-Cobra is a CLI library for Go that empowers applications.
-This application is a tool to generate the needed files
-to quickly create a Cobra application.`,
-       Run: func(cmd *cobra.Command, args []string) {
-               fmt.Println("applcm called")
-       },
+       Short: "Commands to send request to the APPLCM Application",
+       Long: `To manage the application running on the MEP Node, APPLCM exposes
+       some API which can be used to manage the Applicaton running on the MEP Node
+       The command have following options :
+       1. Create
+       2. Info
+       3. Start
+       4. Delete
+       5. Stop.`,
 }
 
 func init() {
 
        applcmCmd.AddCommand(applcmCmds.NewApplcmCreateCommand())
+       applcmCmd.AddCommand(applcmCmds.NewApplcmStartCommand())
+       applcmCmd.AddCommand(applcmCmds.NewApplcmDeleteCommand())
+       applcmCmd.AddCommand(applcmCmds.NewApplcmTerminateCommand())
+       applcmCmd.AddCommand(applcmCmds.NewApplcmInfoCommand())
+
        rootCmd.AddCommand(applcmCmd)
 
 }