1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00

Todo: move console logo to usage

This commit is contained in:
Zack Scholl 2017-11-16 10:09:27 -07:00
parent da9668af19
commit 33e41b2b0a

21
main.go
View file

@ -29,17 +29,18 @@ type Flags struct {
var version string
func main() {
fmt.Println(`
,_
>' )
croc version ` + fmt.Sprintf("%5s", version) + ` ( ( \
|| \
/^^^^\ ||
/^^\________/0 \ ||
( ` + "`" + `~+++,,_||__,,++~^^^^^^^
...V^V^V^V^V^V^\...............................
// fmt.Println(`
// ,_
// >' )
// croc version ` + fmt.Sprintf("%5s", version) + ` ( ( \
// || \
// /^^^^\ ||
// /^^\________/0 \ ||
// ( ` + "`" + `~+++,,_||__,,++~^^^^^^^
// ...V^V^V^V^V^V^\...............................
`)
// `)
fmt.Printf("croc version %s\n", version)
flags := new(Flags)
flag.BoolVar(&flags.Relay, "relay", false, "run as relay")
flag.BoolVar(&flags.Debug, "debug", false, "debug mode")