returntrue,fmt.Errorf("when passing arguments in resource/name form, all arguments must include the resource")
baseCmd:="cmd"
iflen(os.Args)>0{
baseCmdSlice:=strings.Split(os.Args[0],"/")
baseCmd=baseCmdSlice[len(baseCmdSlice)-1]
}
returntrue,fmt.Errorf("there is no need to specify a resource type as a separate argument when passing arguments in resource/name form (e.g. '%s get resource/<resource_name>' instead of '%s get resource resource/<resource_name>'",baseCmd,baseCmd)
expectedError:fmt.Errorf("when passing arguments in resource/name form, all arguments must include the resource"),
expectedError:fmt.Errorf("there is no need to specify a resource type as a separate argument when passing arguments in resource/name form (e.g. 'resource.test get resource/<resource_name>' instead of 'resource.test get resource resource/<resource_name>'"),