From 2b2d6732707ff24a50f672466f8b9fbb40f90653 Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Fri, 18 Jul 2014 18:32:33 +0100 Subject: Updated readme --- README | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) (limited to 'README') diff --git a/README b/README index b2725f9..2d5921b 100644 --- a/README +++ b/README @@ -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 -- cgit v1.2.3