github.com/wawandco/oxpecker@v1.5.7-0.20210910201653-5958d4afdd89/cmd/ox/main.go (about)

     1  package main
     2  
     3  import (
     4  	"context"
     5  	"os"
     6  
     7  	"github.com/wawandco/oxpecker/cli"
     8  	"github.com/wawandco/oxpecker/internal/log"
     9  )
    10  
    11  // This is the main oxpecker 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  }