-
Notifications
You must be signed in to change notification settings - Fork 2
/
odoh-client.go
50 lines (47 loc) · 1.23 KB
/
odoh-client.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package main
import (
"fmt"
"github.com/chris-wood/odoh-client/commands"
"github.com/urfave/cli"
"os"
"time"
)
var (
Version = "0"
Tag = "0"
)
func main() {
app := cli.App{
Name: "odohclient",
HelpName: "Oblivious DNS over HTTPS Client Command Line Interface",
Usage: "",
UsageText: "",
ArgsUsage: "",
Version: fmt.Sprintf("%v - %v", Version, Tag),
Description: "",
Commands: commands.Commands,
Flags: nil,
EnableBashCompletion: false,
HideHelp: false,
HideVersion: false,
BashComplete: nil,
Before: nil,
After: nil,
Action: nil,
CommandNotFound: nil,
OnUsageError: nil,
Compiled: time.Time{},
Authors: nil,
Copyright: "",
Author: "",
Email: "",
Writer: nil,
ErrWriter: nil,
ExitErrHandler: nil,
Metadata: nil,
ExtraInfo: nil,
CustomAppHelpTemplate: "",
UseShortOptionHandling: false,
}
app.Run(os.Args)
}