github.com/machinebox/remoto@v0.1.2-0.20191024144331-eff21a7d321f/main.go (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"os"
     6  
     7  	"github.com/spf13/cobra"
     8  )
     9  
    10  func main() {
    11  	if err := rootCmd.Execute(); err != nil {
    12  		fmt.Fprintf(os.Stderr, "%v\n", err)
    13  		os.Exit(1)
    14  	}
    15  }
    16  
    17  var rootCmd = &cobra.Command{
    18  	Use:   "remoto",
    19  	Short: "Remoto is a complete RPC solution with a very simple design.",
    20  	Long:  `Remoto is a complete RPC solution with a very simple design.`,
    21  	Run:   func(cmd *cobra.Command, args []string) {},
    22  	Args:  cobra.MinimumNArgs(1),
    23  }