Skip to content

Thesephi/rust-volunteerer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-volunteerer

Ever felt the awkward silence when we need someone in a group to do something, but then nobody raises a hand?

rust-volunteerer comes to the rescue. This little program saves us from those awkward moments. Also it's not just time that we save, it's the mental overhead for everyone involved. So, the larger the group, the more energy we save.

usages

Heads up: this (overly-simple) program expects 2 .csv files as its "database". There's a command that generates the seed database.

# generate an example "colleagues" db
rust-volunteerer seed

# populate the roster for a certain amount of weeks from now
rust-volunteerer populate

# return from the roster name of a colleague
# who should be the "volunteer" for the current week
rust-volunteerer current

# display all names from the "colleagues" db
rust-volunteerer colleagues

# given a name existing in the "colleagues" db,
# return the one right after it;
# if all fails, return the 1st name from the list
rust-volunteerer next [name]

# invoking the binary without any argument will enter GUI mode
rust-volunteerer

build

Prerequisite: rustup toolchain

# build only
cargo build [--release]

# or to run immediately after build
cargo run [--release]

# hacking mode
rustc -L /path/to/dependencies -o build/main main.rs

miscellaneous

"Why volunteerer but not volunteer"? Asked a grammar police once.

"If people actually volunteer, do we still need to make them volunteer?" - answered the project author.

About

Little silly(-ish) program for roster management

Resources

License

Stars

Watchers

Forks