File tree 2 files changed +15
-6
lines changed
2 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,20 @@ $ go get github.com/mattrobenolt/email-me
18
18
## Usage
19
19
20
20
```
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
26
35
```
27
36
28
37
## Example email
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import (
14
14
"github.com/jeanfric/goembed/countingwriter"
15
15
)
16
16
17
- const Version = "0.2 .0"
17
+ const Version = "0.3 .0"
18
18
19
19
func usageAndExit (s string , c * cli.Context ) {
20
20
fmt .Printf ("!! %s\n \n " , s )
You can’t perform that action at this time.
0 commit comments