code: func preRun(c *cobra.Command, args []string) error {
  	if len(args) < 1 {
  		return errors.New("Missing name argument")
  	}
  
  	name = args[0]
  	return nil
  }
docs: // PreRun errors if the name argument is missing.