Skip to content

Commit

Permalink
Merge pull request #31 from fluxcd/bootstrap-github
Browse files Browse the repository at this point in the history
Implement GitHub repository bootstrap
  • Loading branch information
stefanprodan authored Jun 9, 2020
2 parents 9e31bbe + 0cd820e commit dc7c2ce
Show file tree
Hide file tree
Showing 39 changed files with 773 additions and 63 deletions.
20 changes: 20 additions & 0 deletions cmd/tk/bootstrap.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package main

import (
"github.com/spf13/cobra"
)

var bootstrapCmd = &cobra.Command{
Use: "bootstrap",
Short: "Bootstrap commands",
}

var (
bootstrapVersion string
)

func init() {
bootstrapCmd.PersistentFlags().StringVar(&bootstrapVersion, "version", "master", "toolkit tag or branch")

rootCmd.AddCommand(bootstrapCmd)
}
Loading

0 comments on commit dc7c2ce

Please sign in to comment.