alan-turing-institute / meet

schedule meetings
MIT License
1 stars 0 forks source link

Support YAML config file with groups of email addresses #11

Open phinate opened 5 months ago

phinate commented 5 months ago

Usage:

meet person1 person2 group1 -c ".meet-config.yaml"

where the contents of .meet-config.yaml are

groups:
  - name: group1
    emails:
      - a@turing.ac.uk
      - b@turing.ac.uk
      - ...

This results in a meeting between person1, person2, a, and b.

One thing I've not implemented yet because I wanted thoughts on it: where should this config live by default? I was going to write code to read the home dir and search for .meet-config.yaml, but I don't really know what would be standard practice here.

Addresses #8.

phinate commented 5 months ago

I've also included an example file (.example-meet-config.yaml) in the top-level directory, which feels like a stop-gap for CI and README additions. Once we decide default behaviour for reading in this file, I'll go ahead and update the README.