code: func parseType(t string) (dosa.ScopeType, error) {
  	if len(t) == 0 {
  		return dosa.Development, nil
  	}
  	lt := strings.ToLower(t)
  	if strings.HasPrefix("production", lt) {
  		return dosa.Production, nil
  	}
  	if strings.HasPrefix("staging", lt) {
  		return dosa.Staging, nil
  	}
  	if strings.HasPrefix("development", lt) {
  		return dosa.Development, nil
  	}
  	return dosa.Development, fmt.Errorf("unknown scope type %q", t)
  }
docs: // Parse a string into a scope type.