X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ocd%2Fcli%2Fealt%2Fcmd%2Fapplcm.go;h=2953041dc3b93fe269a8fc5253fd784897107014;hb=refs%2Fchanges%2F14%2F3514%2F1;hp=a5386ccb8c8512ba3cf9d141fb6470f903c297fa;hpb=5d07bea8b04559a4e93774702cca1a09fc755323;p=ealt-edge.git diff --git a/ocd/cli/ealt/cmd/applcm.go b/ocd/cli/ealt/cmd/applcm.go index a5386cc..2953041 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" @@ -31,12 +29,10 @@ var applcmCmd = &cobra.Command{ 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") - }, + 2. Info + 3. Start + 4. Delete + 5. Stop.`, } func init() { @@ -45,6 +41,7 @@ func init() { applcmCmd.AddCommand(applcmCmds.NewApplcmStartCommand()) applcmCmd.AddCommand(applcmCmds.NewApplcmDeleteCommand()) applcmCmd.AddCommand(applcmCmds.NewApplcmTerminateCommand()) + applcmCmd.AddCommand(applcmCmds.NewApplcmInfoCommand()) rootCmd.AddCommand(applcmCmd)