code: func ImportConfiguration(root string, profile string, overwrite bool) error {
  	dirs := listDirectories()
  	absRoot, err := determineAbsRoot(root)
  	if err != nil {
  		return err
  	}
  
  	// For every application directory...
  	for _, serviceName := range dirs {
  		LoggingClient.Debug(fmt.Sprintf("importing: %s/%s", absRoot, serviceName))
  		if err != nil {
  			return err
  		}
  		// Find the resource (res) directory...
  		res := fmt.Sprintf("%s/%s/res", absRoot, serviceName)
  
  		// Append profile to the path if specified...
  		if len(profile) > 0 {
  			res += "/" + profile
  		}
  
  		//Append configuration file name
  		path := res + "/" + internal.ConfigFileName
  
  		if !isTomlExtension(path) {
  			return errors.New("unsupported file extension: " + path)
  		}
  
  		LoggingClient.Debug("reading toml " + path)
  
  		// load the ToML file
  		configuration, err := toml.LoadFile(path)
  		if err != nil {
  			LoggingClient.Warn(err.Error())
  			return nil
  		}
  
  		registryConfig := types.Config{
  			Host:       Configuration.Registry.Host,
  			Port:       Configuration.Registry.Port,
  			Type:       Configuration.Registry.Type,
  			Stem:       internal.ConfigRegistryStem,
  			ServiceKey: internal.ServiceKeyPrefix + serviceName,
  		}
  		Registry, err = registry.NewRegistryClient(registryConfig)
  		if err != nil {
  			return err
  		}
  
  		Registry.PutConfigurationToml(configuration, overwrite)
  	}
  
  	return nil
  }
docs: // Import configuration files using the specified path to the cmd directory where service configuration files reside.
  // Also, profile indicates the preferred deployment target (such as "docker")