def from_example(example_path)
      base_dir = File.directory?(example_path) ? example_path : File.dirname(example_path)
      with_config(base_dir, self) { |path| with_override(path) }
    end
def from_example(example_path)
      base_dir = File.directory?(example_path) ? example_path : File.dirname(example_path)
      with_config(base_dir, self) { |path| with_override(path) }
    end
Produce a configuration override taken from an Arduino library example path
 handle either path to example file or example dir
 @param path [String] the path to the settings yaml file
 @return [ArduinoCI::CIConfig] the new settings object