X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Fcli%2Fealt%2Fcmd%2Fapplcm.go;h=a5386ccb8c8512ba3cf9d141fb6470f903c297fa;hb=5d07bea8b04559a4e93774702cca1a09fc755323;hp=01057b5b1e2ba951fec4c8f27ed502f42995001a;hpb=5011a34d8324f1458ead3734992058c60d7af761;p=ealt-edge.git diff --git a/ocd/cli/ealt/cmd/applcm.go b/ocd/cli/ealt/cmd/applcm.go index 01057b5..a5386cc 100644 --- a/ocd/cli/ealt/cmd/applcm.go +++ b/ocd/cli/ealt/cmd/applcm.go @@ -26,13 +26,14 @@ 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.`, + 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. Start + 3. Delete + 4. Stop.`, Run: func(cmd *cobra.Command, args []string) { fmt.Println("applcm called") }, @@ -41,6 +42,10 @@ to quickly create a Cobra application.`, func init() { applcmCmd.AddCommand(applcmCmds.NewApplcmCreateCommand()) + applcmCmd.AddCommand(applcmCmds.NewApplcmStartCommand()) + applcmCmd.AddCommand(applcmCmds.NewApplcmDeleteCommand()) + applcmCmd.AddCommand(applcmCmds.NewApplcmTerminateCommand()) + rootCmd.AddCommand(applcmCmd) }