summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-08-24 11:13:58 +0200
committerJon Bratseth <bratseth@gmail.com>2021-08-24 11:13:58 +0200
commit4cf24301465f021893aa9439c20e4834760930b1 (patch)
tree781a4cda072c85cd2afaa3adc0ffa82f887b3cc1 /client
parent22551080edea429c0cdac1770fbd92f34d56edfe (diff)
Add back top-leve files
Diffstat (limited to 'client')
-rw-r--r--client/go/go.mod9
-rw-r--r--client/go/main.go13
2 files changed, 22 insertions, 0 deletions
diff --git a/client/go/go.mod b/client/go/go.mod
new file mode 100644
index 00000000000..40499f09e04
--- /dev/null
+++ b/client/go/go.mod
@@ -0,0 +1,9 @@
+module github.com/vespa-engine/vespa
+
+go 1.16
+
+require (
+ github.com/spf13/cobra v1.2.1
+ github.com/spf13/viper v1.8.1
+ github.com/stretchr/testify v1.7.0
+)
diff --git a/client/go/main.go b/client/go/main.go
new file mode 100644
index 00000000000..3803ee357b2
--- /dev/null
+++ b/client/go/main.go
@@ -0,0 +1,13 @@
+// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+// Cobra commands main file
+// Author: bratseth
+
+package main
+
+import (
+ "github.com/vespa-engine/vespa/cmd"
+)
+
+func main() {
+ cmd.Execute()
+}