func NewApplcmDeleteCommand() *cobra.Command {
var cmd = &cobra.Command{
Use: "delete",
- Short: "Install Complete EALT Deployment Environment",
- Long: `Install Complete EALT Deployment Environment`,
+ Short: "Delete the application from the MEP Node.",
+ Long: `Delete the application from the MEP Node.`,
RunE: func(cmd *cobra.Command, args []string) error {
- applicationIdArg := cmd.Flag("appid")
- applicationId := applicationIdArg.Value.String()
- err := adapter.BuilderRequest(applicationId, "NewApplcmDeleteCommand")
+ theFlags := []string{cmd.Flag("appid").Value.String()}
+ err := adapter.BuilderRequest(theFlags, "NewApplcmDeleteCommand")
if err != nil {
return err
}
},
}
- cmd.Flags().StringP("appid", "i", "", "Application Package ID to be deleted from MEP")
-
+ cmd.Flags().StringP("appid", "i", "", "Application Instance ID to be Deleted!!")
+ cmd.MarkFlagRequired("appid")
return cmd
}