mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 20:47:55 +00:00
21 lines
360 B
Go
21 lines
360 B
Go
// Package cmd holds all our cli commands.
|
|
// These are different from the commands that get run via GitHub comments
|
|
package cmd
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var RootCmd = &cobra.Command{
|
|
Use: "atlantis",
|
|
Short: "Manage your Terraform workflow from GitHub",
|
|
}
|
|
|
|
func Execute() {
|
|
if err := RootCmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|