// NewCmdLink implements the link odo command
NewCmdLink implements the link odo command
// NewCmdLink implements the link odo command
func NewCmdLink() *cobra.Command {
	linkCmd.PersistentFlags().StringVar(&port, "port", "", "Port of the backend to which to link")
	linkCmd.PersistentFlags().BoolVarP(&wait, "wait", "w", false, "If enabled, the link command will wait for the service to be provisioned")
	linkCmd.Annotations = map[string]string{"command": "component"}
	linkCmd.SetUsageTemplate(util.CmdUsageTemplate)
	addProjectFlag(linkCmd)
	genericclioptions.AddApplicationFlag(linkCmd)
	genericclioptions.AddComponentFlag(linkCmd)
	return linkCmd
}
func NewCmdLink ( ) * cobra . Command { linkCmd . PersistentFlags ( ) . StringVar ( & port , " " , " " , " " ) linkCmd . PersistentFlags ( ) . BoolVarP ( & wait , " " , " " , false , " " ) linkCmd . Annotations = map [ string ] string { " " : " " } linkCmd . SetUsageTemplate ( util . CmdUsageTemplate ) addProjectFlag ( linkCmd ) genericclioptions . AddApplicationFlag ( linkCmd ) genericclioptions . AddComponentFlag ( linkCmd ) return linkCmd }
NewCmdLink implements the link odo command
NewCmdLink implements the link odo command
// Add a defined annotation in order to appear in the help menu //Adding `--project` flag //Adding `--application` flag //Adding `--component` flag