-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgowild_test.go
31 lines (28 loc) · 945 Bytes
/
gowild_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package main
func ExamplePrintVersion() {
PrintVersion()
// Output: gowild - https://github.com/havenbarnes/gowild
//v0.0.1
}
func ExamplePrintHelp() {
PrintHelp("foo", false)
// Output: gowild - https://github.com/havenbarnes/gowild
//
// Usage:
// gowild record begin recording bash commands
// gowild stop end recording session and create shell script
// gowild help Print Help (this message) and exit
// gowild version Print version information and exit
}
func ExamplePrintHelp_invalidCommand() {
PrintHelp("foo", true)
// Output: gowild - https://github.com/havenbarnes/gowild
//
// Invalid command: foo
//
// Usage:
// gowild record begin recording bash commands
// gowild stop end recording session and create shell script
// gowild help Print Help (this message) and exit
// gowild version Print version information and exit
}