code: func RunImport(dockerCli command.Cli, name string, source string) error {
  	if err := checkContextNameForCreation(dockerCli.ContextStore(), name); err != nil {
  		return err
  	}
  	var reader io.Reader
  	if source == "-" {
  		reader = dockerCli.In()
  	} else {
  		f, err := os.Open(source)
  		if err != nil {
  			return err
  		}
  		defer f.Close()
  		reader = f
  	}
  
  	if err := store.Import(name, dockerCli.ContextStore(), reader); err != nil {
  		return err
  	}
  	fmt.Fprintln(dockerCli.Out(), name)
  	fmt.Fprintf(dockerCli.Err(), "Successfully imported context %q\n", name)
  	return nil
  }
docs: // RunImport imports a Docker context