X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Fcli%2Fealt%2Fcmd%2Fapplcm.go;h=50fa33c1ec4622438f1ac5c7868efb0a5fd9479e;hb=caf01eef6ab04caccb08847930d2729794784b64;hp=01057b5b1e2ba951fec4c8f27ed502f42995001a;hpb=440ecbc2b907e160a5eef66b04329a06e1aae2c6;p=ealt-edge.git diff --git a/ocd/cli/ealt/cmd/applcm.go b/ocd/cli/ealt/cmd/applcm.go index 01057b5..50fa33c 100644 --- a/ocd/cli/ealt/cmd/applcm.go +++ b/ocd/cli/ealt/cmd/applcm.go @@ -16,8 +16,6 @@ limitations under the License. package cmd import ( - "fmt" - applcmCmds "ealt/cmd/applcmpkg" "github.com/spf13/cobra" @@ -26,21 +24,23 @@ 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. Start + 3. Delete + 4. Stop.`, } func init() { applcmCmd.AddCommand(applcmCmds.NewApplcmCreateCommand()) + applcmCmd.AddCommand(applcmCmds.NewApplcmStartCommand()) + applcmCmd.AddCommand(applcmCmds.NewApplcmDeleteCommand()) + applcmCmd.AddCommand(applcmCmds.NewApplcmTerminateCommand()) + rootCmd.AddCommand(applcmCmd) }