| 1234567891011121314151617181920 |
- package cmd
- import (
- "github.com/spf13/cobra"
- "os"
- )
- var rootCmd = &cobra.Command{
- Use: "FluentTxMachine",
- Short: "Tx on the machine",
- Run: func(cmd *cobra.Command, args []string) {
- cmd.Help()
- },
- }
- func Execute() {
- if err := rootCmd.Execute(); err != nil {
- os.Exit(-1)
- }
- }
|