Skip to content

Commit 0065813

Browse files
committed
0.3.0
1 parent 988917d commit 0065813

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

README.md

+14-5
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,20 @@ $ go get github.com/mattrobenolt/email-me
1818
## Usage
1919

2020
```
21-
usage: email-me [flags] [command]
22-
-max=10000: max bytes to capture for stdout/stderr
23-
-on-error=false: only notify on a non-0 exit code
24-
-s="": subject of email (optional)
25-
-to="": email address to send output to
21+
NAME:
22+
email-me - email me when a thing is done
23+
24+
USAGE:
25+
email-me [global options] [arguments...]
26+
27+
VERSION:
28+
0.3.0
29+
30+
GLOBAL OPTIONS:
31+
--to email address to send output to [$EMAIL_ME_TO]
32+
--subject, -s subject of email (optional)
33+
--max "10000" max bytes to capture for stdout/stderr [$EMAIL_ME_MAX]
34+
--on-error only notify on a non-0 exit code
2635
```
2736

2837
## Example email

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/jeanfric/goembed/countingwriter"
1515
)
1616

17-
const Version = "0.2.0"
17+
const Version = "0.3.0"
1818

1919
func usageAndExit(s string, c *cli.Context) {
2020
fmt.Printf("!! %s\n\n", s)

0 commit comments

Comments
 (0)