meeting-dice 0.1.6

A CLI tool that helps you to choose in a team who's gonna be the next meeting chair.
# Meeting dice

[![actions status][actions-badge]][actions-url]
[![crate version][crates-version-badge]][crates-url]
[![dependencies status][deps-badge]][deps-url]
![licenses][licenses-badge]

[actions-badge]: https://github.com/yozhgoor/meeting-dice/workflows/main/badge.svg
[actions-url]: https://github.com/yozhgoor/meeting-dice/actions
[crates-version-badge]: https://img.shields.io/crates/v/meeting-dice
[crates-url]: https://crates.io/crates/meeting-dice
[deps-badge]: https://deps.rs/crate/meeting-dice/0.1.6/status.svg
[deps-url]: https://deps.rs/crate/meeting-dice
[licenses-badge]: https://img.shields.io/crates/l/meeting-dice

A CLI tool that helps you to choose in a team who's gonna be the next meeting chair.

## Installation

`cargo install meeting-dice`

## Usage

## List the members of the team

```
meeting-dice --list
```

This will print:

* The members of the team.
* Member(s) that will not participate to the meeting.
* An eventual last meeting chair.

## Specify who was the last meeting chair

```
meeting-dice --last-chair <name>
```

This command will return an error if `name` doesn't exists in the member list.

## Specify who was the last note taker.

```
meeting-dice --last-note-taker <name>
```

This command will return an error if `name` doesn't exists in the members list.

## Add member(s) to the team

```
meeting-dice --add-members <names>
```

If a name already exists in the members list, it will not be added.
Note that this is checked on lowercase values so `John == john`.

## Remove member(s) of the team.

```
meeting-dice --remove-members <names>
```

## Select a meeting chair

Since all the options that we mentioned before can be used without actually choosing a new meeting
chair, you need to pass `--run` to randomly select the new meeting chair.

```
meeting-dice --run
```

If you want to list the members before the run, you can use:

```
meeting-dice --list --run
```

After printing the selection, the program will ask if you confirm the selection and store it for the
next run.

### Remove temporarily member(s) of the team

If a member of the team can't be present for this meeting, you can remove him from this run like
this:

```
meeting-dice --hide-members <names> --run
```

### Choose a new note taker with the new meeting chair.

To specify that you want to choose a new meeting chair and a note taker for this meeting, you can
use:

```
meeting-dice --note-taker --run
```

If you don't choose a new note taker, the last note taker will stay the same.