code: func (g *ResourceCommand) Initialize(app *kingpin.Application, config *service.Config) {
  	g.CreateHandlers = map[ResourceKind]ResourceCreateHandler{
  		services.KindUser:            g.createUser,
  		services.KindTrustedCluster:  g.createTrustedCluster,
  		services.KindGithubConnector: g.createGithubConnector,
  		services.KindCertAuthority:   g.createCertAuthority,
  	}
  	g.config = config
  
  	g.createCmd = app.Command("create", "Create or update a Teleport resource from a YAML file")
  	g.createCmd.Arg("filename", "resource definition file").Required().StringVar(&g.filename)
  	g.createCmd.Flag("force", "Overwrite the resource if already exists").Short('f').BoolVar(&g.force)
  
  	g.deleteCmd = app.Command("rm", "Delete a resource").Alias("del")
  	g.deleteCmd.Arg("resource", "Resource to delete").SetValue(&g.ref)
  
  	g.getCmd = app.Command("get", "Print a YAML declaration of various Teleport resources")
  	g.getCmd.Arg("resource", "Resource spec: 'type/[name]'").SetValue(&g.ref)
  	g.getCmd.Flag("format", "Output format: 'yaml', 'json' or 'text'").Default(formatYAML).StringVar(&g.format)
  	g.getCmd.Flag("namespace", "Namespace of the resources").Hidden().Default(defaults.Namespace).StringVar(&g.namespace)
  	g.getCmd.Flag("with-secrets", "Include secrets in resources like certificate authorities or OIDC connectors").Default("false").BoolVar(&g.withSecrets)
  
  	g.getCmd.Alias(getHelp)
  }
docs: // Initialize allows ResourceCommand to plug itself into the CLI parser