Skip to content

Commit f8e6708

Browse files
authored
Merge pull request #3 from moul/dev/moul/v1
feat: v1
2 parents 39e1d07 + 15ec09f commit f8e6708

File tree

6 files changed

+2634
-43
lines changed

6 files changed

+2634
-43
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ include rules.mk
88
generate: install
99
GO111MODULE=off go get github.com/campoy/embedmd
1010
mkdir -p .tmp
11-
echo 'foo@bar:~$$ berty-discord-webhook' > .tmp/usage.txt
12-
berty-discord-webhook 2>&1 >> .tmp/usage.txt
11+
echo 'foo@bar:~$$ berty-discord-webhook -h' > .tmp/usage.txt
12+
-berty-discord-webhook -h 2>> .tmp/usage.txt
1313
embedmd -w README.md
1414
rm -rf .tmp
1515
.PHONY: generate

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,17 @@
2222

2323
[embedmd]:# (.tmp/usage.txt console)
2424
```console
25-
foo@bar:~$ berty-discord-webhook
26-
_ _ _ _ _ _ _ _
27-
| |__ ___ _ _ | |_ _ _ ___ __| |(_) ___ __ ___ _ _ __| | ___ __ __ __ ___ | |__ | |_ ___ ___ | |__
28-
| '_ \/ -_)| '_|| _|| || ||___|/ _` || |(_-</ _|/ _ \| '_|/ _` ||___|\ V V // -_)| '_ \| ' \ / _ \/ _ \| / /
29-
|_.__/\___||_| \__| \_, | \__,_||_|/__/\__|\___/|_| \__,_| \_/\_/ \___||_.__/|_||_|\___/\___/|_\_\
30-
|__/
31-
12 CPUs, /home/moul/.local/bin/berty-discord-webhook, fwrz.m.42.am, go1.16.7
32-
[]
25+
foo@bar:~$ berty-discord-webhook -h
26+
USAGE
27+
berty-discord-webhook [global flags] <subcommand> [flags] [args]
28+
29+
FLAGS
30+
-berty-announces false Announce debugging events on Berty
31+
-berty-group-invite ... Berty group invite
32+
-berty-node-addr ... Berty node address
33+
-debug false debug mode
34+
-discord-announces false Announce debugging events on Discord
35+
-discord-webhook-url ... Discord Webhook URL
3336
```
3437

3538
## Install

go.mod

Lines changed: 17 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)