Install Go: Instructions here
Run Billy:
cd src && go run .
Or
To generate a binary of this tool, run the command below from src/:
go build -o <path-to-file>/<filename>
Instructions:
- Start with entering the total bill amount.
- Then enter the names of the people participating in the bill in the format:
<name1>,<name2>,<name3>...
- Proceed to enter each item in the format:
<iterm-name>:<price>:<person1>,<person2>,...
- If you'd like to delete any entry, enter 'remove'/'r'.
- If you'd like to list all people, enter 'list people'/'lp'.
- If you'd like to list all the entries Billy has recorded, enter 'list entry'/'le'.
- When you'd like Billy to work its magic, enter 'done'/'d'. Follow instructions after.
- To view instructions again, enter 'print instructions'/'p'.
- To quit, enter 'quit'/'q'.
TO-DO:
- Makefile!
- Provide helper flag for binary file
- Monitor SIGINT