MCPcopy
hub / github.com/hashicorp/hcl / main

Function main

cmd/hclfmt/main.go:44–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44func main() {
45 err := realmain()
46
47 if err != nil {
48 fmt.Fprintln(os.Stderr, err.Error())
49 os.Exit(1)
50 }
51}
52
53func realmain() error {
54 flag.Usage = usage

Callers

nothing calls this directly

Calls 3

realmainFunction · 0.70
ExitMethod · 0.65
ErrorMethod · 0.45

Tested by

no test coverage detected