Merge pull request #2 from technosophos/feat/grpc

feat(helm): add initial helm client
pull/613/head
Matt Butcher 8 years ago
commit d081e39d17

@ -0,0 +1,19 @@
package main
import (
"os"
"github.com/spf13/cobra"
)
var stdout = os.Stdout
var RootCommand = &cobra.Command{
Use: "helm",
Short: "The Helm package manager for Kubernetes.",
Long: `Do long help here.`,
}
func main() {
RootCommand.Execute()
}

@ -0,0 +1,22 @@
package main
import (
"fmt"
"github.com/spf13/cobra"
)
func init() {
RootCommand.AddCommand(initCmd)
}
var initCmd = &cobra.Command{
Use: "init",
Short: "Initialize Helm on both client and server.",
Long: `Add long help here`,
Run: runInit,
}
func runInit(cmd *cobra.Command, args []string) {
fmt.Fprintln(stdout, "Init was called.")
}

10
glide.lock generated

@ -1,5 +1,5 @@
hash: 9bf35c0cd5fd9a87324b8b410499579fd983072338d8b6522987b630353bf986
updated: 2016-04-11T15:22:12.013812164-06:00
hash: 692bf17990973cf424c2dbfda6afee8b7002bbc07aaaa78372eac447fed4c8b0
updated: 2016-04-11T16:13:14.192550144-06:00
imports:
- name: github.com/codegangsta/cli
version: 71f57d300dd6a780ac1856c005c4b518cfd498ec
@ -7,6 +7,12 @@ imports:
version: dda510ac0fd43b39770f22ac6260eb91d377bce3
subpackages:
- proto
- name: github.com/spf13/cobra
version: 4c05eb1145f16d0e6bb4a3e1b6d769f4713cb41f
subpackages:
- cobra
- name: github.com/spf13/pflag
version: 1f296710f879815ad9e6d39d947c828c3e4b4c3d
- name: golang.org/x/net
version: 589fda73dd0faec3dc59e7d7dab5b069e3fce0f9
subpackages:

@ -4,3 +4,6 @@ import:
- package: golang.org/x/net
subpackages:
- context
- package: github.com/spf13/cobra
subpackages:
- cobra

Loading…
Cancel
Save