code: func (n *newSiteCmd) newSite(cmd *cobra.Command, args []string) error {
  	if len(args) < 1 {
  		return newUserError("path needs to be provided")
  	}
  
  	createpath, err := filepath.Abs(filepath.Clean(args[0]))
  	if err != nil {
  		return newUserError(err)
  	}
  
  	forceNew, _ := cmd.Flags().GetBool("force")
  
  	return n.doNewSite(hugofs.NewDefault(viper.New()), createpath, forceNew)
  }
docs: // newSite creates a new Hugo site and initializes a structured Hugo directory.