Skip to content

Commit e0f10ec

Browse files
committed
add usage example
1 parent c3419f4 commit e0f10ec

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Readme.md

+14
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ Via `go get`:
2020
$ go get github.com/tj/gh-polls/cmd/polls
2121
```
2222

23+
## Usage
24+
25+
Create a new poll for who is the best ferret.
26+
27+
```
28+
$ polls new Tobi Loki Jane
29+
```
30+
31+
Create a new poll with larger options.
32+
33+
```
34+
$ polls new "Cats are better" "Ferrets are better"
35+
```
36+
2337
---
2438

2539
[![GoDoc](https://godoc.org/github.com/tj/gh-polls?status.svg)](https://godoc.org/github.com/tj/gh-polls)

0 commit comments

Comments
 (0)