github.com/wawandco/ox@v0.13.6-0.20230809142027-913b3d837f2a/cmd/ox/main.go (about)

     1  package main
     2  
     3  import (
     4  	"context"
     5  	"os"
     6  
     7  	"github.com/wawandco/ox/cli"
     8  	"github.com/wawandco/ox/internal/log"
     9  )
    10  
    11  // This is the main Ox CLI that provides the basic functionality
    12  // by using the base plugins.
    13  func main() {
    14  	err := cli.Wrap(context.Background(), os.Args)
    15  	if err != nil {
    16  		log.Error(err.Error())
    17  		os.Exit(1)
    18  	}
    19  }