code: func NewResolver(cmd *cobra.Command, c api.ControlClient) *Resolver {
  	return &Resolver{
  		cmd:   cmd,
  		c:     c,
  		ctx:   Context(cmd),
  		cache: make(map[string]string),
  	}
  }
docs: // NewResolver creates a new Resolver.