-
Notifications
You must be signed in to change notification settings - Fork 6
/
main.go
41 lines (35 loc) · 2.03 KB
/
main.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
32
33
34
35
36
37
38
39
40
41
package main
import (
Eulogist "Eulogist/eulogist"
_ "embed"
"fmt"
"github.com/pterm/pterm"
)
//go:embed version
var versionInfo []byte
func main() {
pterm.Println(pterm.Yellow("" +
"╔═════════════════════════════════════════════════════════════════╗\n" +
"║ ███████╗██╗ ██╗██╗ ██████╗ ██████╗ ██╗███████╗████████╗ ║\n" +
"║ ██╔════╝██║ ██║██║ ██╔═══██╗██╔════╝ ██║██╔════╝╚══██╔══╝ ║\n" +
"║ █████╗ ██║ ██║██║ ██║ ██║██║ ███╗██║███████╗ ██║ ║\n" +
"║ ██╔══╝ ██║ ██║██║ ██║ ██║██║ ██║██║╚════██║ ██║ ║\n" +
"║ ███████╗╚██████╔╝███████╗╚██████╔╝╚██████╔╝██║███████║ ██║ ║\n" +
"║ ╚══════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═════╝ ╚═╝╚══════╝ ╚═╝ ║\n" +
"╚═════════════════════════════════════════════════════════════════╝",
))
pterm.DefaultBox.Println(
pterm.LightCyan("" +
" " +
pterm.Sprintf("Default - v%s", string(versionInfo)) + "\n" +
"https://github.com/YingLunTown-DreamLand/Eulogist-Community",
),
)
err := Eulogist.Eulogist()
if err != nil {
pterm.Error.Println(err)
}
fmt.Println()
pterm.Info.Println("Program running down, now press enter to exit.")
fmt.Scanln()
}