diff options
-rw-r--r-- | README | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -1,11 +1,31 @@ blavote +Work in progress + This program can be used to create polls, and allow users to vote on them. -Usage: go run blavote.go +Usage: + +To add a poll: + +blavote -u username -a "poll question" option1 option2.. + +e.g: + +blavote -u wjoe -a "Indent with tabs or spaces?" Tabs Spaces + +To vote on a poll: -(or compile with go build blavote.go, and execute blavote) +blavote -u username pollId vote + +e.g: + +blavote -u wjoe 1 spaces + +Compiling: + +go install http://www.blatech.co.uk/wjoe/blavote Requirements: Go (to compile, or run from source) @@ -18,4 +38,4 @@ Written in Go Libraries used: http://www.github.com/mxk/go-sqlite/sqlite3 - +https://github.com/jessevdk/go-flags |