blob: 2d5921bc3696764719b0c17b9ff50e047855741c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
blavote
Work in progress
This program can be used to create polls, and allow users to vote on
them.
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:
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)
Sqlite (tested with version 3.8, assumed to work with all 3.x versions)
Author: Joe Robinson
Written in Go
Libraries used:
http://www.github.com/mxk/go-sqlite/sqlite3
https://github.com/jessevdk/go-flags
|