def Args(parser): flags.AddBrokerArg(parser) namespace_presentation = presentation_specs.ResourcePresentationSpec( '--namespace', resource_args.GetCoreNamespaceResourceSpec(), 'Namespace to create the Broker in.', required=True, prefixes=False) concept_parsers.ConceptParser([namespace_presentation]).AddToParser(parser)
def CommonArgs(parser): """Defines arguments common to all release tracks.""" flags.AddServiceAccountFlag(parser) flags.AddBrokerArg(parser) namespace_presentation = presentation_specs.ResourcePresentationSpec( '--namespace', resource_args.GetCoreNamespaceResourceSpec(), 'Namespace to create the Broker in.', required=True, prefixes=False) concept_parsers.ConceptParser([namespace_presentation ]).AddToParser(parser)