mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 20:08:31 +00:00
* adding atlantis bootstrap mode to support getting started with atlantis for first time users * removed unwanted confirm variable * vendoring dependencies * more vendoring * more more and more vendoring * comment about bootstrap package * Proposed changes (#84) * reviewed all the comments * removing required approval flag since we will default to false
19 lines
346 B
Go
19 lines
346 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/hootsuite/atlantis/bootstrap"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var bootstrapCmd = &cobra.Command{
|
|
Use: "bootstrap",
|
|
Short: "Start a guided tour of Atlantis",
|
|
RunE: withErrPrint(func(cmd *cobra.Command, args []string) error {
|
|
return bootstrap.Start()
|
|
}),
|
|
}
|
|
|
|
func init() {
|
|
RootCmd.AddCommand(bootstrapCmd)
|
|
}
|