Skip to content

Commit

Permalink
Make providers a subcommand of bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwickenden committed Dec 12, 2018
1 parent b82a1e6 commit 80b949b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 368 deletions.
10 changes: 4 additions & 6 deletions cmd/kubeletmein/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ import (
"fmt"
"os"

"github.com/4armed/kubeletmein/pkg/common"
"github.com/4armed/kubeletmein/pkg/do"
"github.com/4armed/kubeletmein/pkg/gke"
"github.com/4armed/kubeletmein/pkg/bootstrap"
"github.com/4armed/kubeletmein/pkg/generate"
"github.com/kubicorn/kubicorn/pkg/logger"
"github.com/spf13/cobra"
)
Expand All @@ -42,9 +41,8 @@ func main() {
}

func init() {
rootCmd.AddCommand(common.GenerateCmd())
rootCmd.AddCommand(do.Command())
rootCmd.AddCommand(gke.Command())
rootCmd.AddCommand(bootstrap.Command())
rootCmd.AddCommand(generate.Command())

rootCmd.PersistentFlags().IntVarP(&logger.Level, "verbose", "v", 3, "set log level, use 0 to silence, 4 for debugging")
rootCmd.PersistentFlags().BoolVarP(&logger.Color, "color", "C", true, "toggle colorized logs")
Expand Down
123 changes: 0 additions & 123 deletions pkg/do/bootstrap.go

This file was deleted.

38 changes: 0 additions & 38 deletions pkg/do/do.go

This file was deleted.

151 changes: 0 additions & 151 deletions pkg/gke/bootstrap.go

This file was deleted.

50 changes: 0 additions & 50 deletions pkg/gke/gke.go

This file was deleted.

0 comments on commit 80b949b

Please sign in to comment.