MCPcopy Create free account
hub / github.com/OpenAtomFoundation/SmartIDE / main

Function main

cli/main.go:34–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32)
33
34func main() {
35 //
36 defer func() {
37 if err := recover(); err != nil {
38 common.SmartIDELog.Fatal(err)
39 }
40 }()
41
42 // print version
43 versionInfo := formatVerion()
44 common.SmartIDELog.Console(versionInfo.VersionNumber)
45
46 // command line startup
47 cmd.Execute(versionInfo)
48}
49
50// running before main
51func init() {

Callers 1

TestMainFunction · 0.85

Calls 3

formatVerionFunction · 0.85
FatalMethod · 0.80
ConsoleMethod · 0.80

Tested by 1

TestMainFunction · 0.68