mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 10:08:20 +00:00
21 lines
375 B
Go
21 lines
375 B
Go
package cmd
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// RootCmd is the base command onto which all other commands are added.
|
|
var RootCmd = &cobra.Command{
|
|
Use: "atlantis",
|
|
Short: "A unified workflow for collaborating on Terraform through GitHub and GitLab",
|
|
}
|
|
|
|
// Execute starts RootCmd.
|
|
func Execute() {
|
|
if err := RootCmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|