aboutsummaryrefslogtreecommitdiff
path: root/mastodon
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-04-22 20:25:05 -0700
committerChristine Dodrill <me@christine.website>2017-04-22 20:25:05 -0700
commite99512eb4c9e8114a79968407cf1eda7a40b7950 (patch)
treec55975e1600b9abedcc1eb7b1b1287ee89ff1a3b /mastodon
parent441d3cf039849289ba233fc8f396eb5d4439bed8 (diff)
downloadx-e99512eb4c9e8114a79968407cf1eda7a40b7950.tar.xz
x-e99512eb4c9e8114a79968407cf1eda7a40b7950.zip
move mkapp
Diffstat (limited to 'mastodon')
-rw-r--r--mastodon/furrybb/README.md7
-rw-r--r--mastodon/mkapp/main.go (renamed from mastodon/furrybb/mkapp.go)2
2 files changed, 4 insertions, 5 deletions
diff --git a/mastodon/furrybb/README.md b/mastodon/furrybb/README.md
index c64d0eb..d135592 100644
--- a/mastodon/furrybb/README.md
+++ b/mastodon/furrybb/README.md
@@ -7,8 +7,9 @@ hashtags too. Usage is simple:
```console
$ go get github.com/Xe/x/mastodon/furrybb
$ cd $GOPATH/src/github.com/Xe/x/mastodon/furrybb
-$ go run mkapp.go -help
-Usage of [mkapp.go]:
+$ go get github.com/Xe/x/mastodon/mkapp
+$ mkapp
+Usage of [mkapp]:
-app-name string
app name for mastodon (default "Xe/x bot")
-instance string
@@ -22,7 +23,7 @@ Usage of [mkapp.go]:
-website string
website for users that click the app name (default "https://github.com/Xe/x")
exit status 2
-$ go run mkapp.go [your options here] > .env
+$ mkapp [your options here] > .env
$ echo "HASHTAG=furry" >> .env
$ go build && ./furrybb
```
diff --git a/mastodon/furrybb/mkapp.go b/mastodon/mkapp/main.go
index 88ad5f8..bbb10d2 100644
--- a/mastodon/furrybb/mkapp.go
+++ b/mastodon/mkapp/main.go
@@ -1,5 +1,3 @@
-// +build ignore
-
package main
import (