github.com/beauknowssoftware/makehcl@v0.0.0-20200322000747-1b9bb1e1c008/cmd/makehcl/main.go (about)

     1  package main
     2  
     3  import (
     4  	"os"
     5  
     6  	"github.com/beauknowssoftware/makehcl/internal/cmd"
     7  )
     8  
     9  const (
    10  	failureStatusCode = 1
    11  )
    12  
    13  func main() {
    14  	if err := cmd.Exec(); err != nil {
    15  		os.Exit(failureStatusCode)
    16  	}
    17  }