mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 07:38:36 +00:00
21 lines
342 B
Go
21 lines
342 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: "Manage your Terraform workflow from GitHub",
|
|
}
|
|
|
|
// Execute starts RootCmd.
|
|
func Execute() {
|
|
if err := RootCmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|