code: func ReGenerateLibrarySpec(route SteplibRoute) error {
  	pth := GetLibraryBaseDirPath(route)
  	if exists, err := pathutil.IsPathExists(pth); err != nil {
  		return err
  	} else if !exists {
  		return errors.New("Not initialized")
  	}
  
  	specPth := pth + "/steplib.yml"
  	collection, err := ParseStepCollection(specPth)
  	if err != nil {
  		return err
  	}
  
  	return WriteStepSpecToFile(collection, route)
  }
docs: // ReGenerateLibrarySpec ...