mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-01 23:38:48 +00:00
* Return error if workspace doesn't exist * Default data dir to ~/.atlantis. Don't clean workspaces * Run goimports
19 lines
265 B
Go
19 lines
265 B
Go
package cmd
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var RootCmd = &cobra.Command{
|
|
Use: "atlantis",
|
|
Short: "Terraform collaboration tool", // todo: decide on name #opensource
|
|
}
|
|
|
|
func Execute() {
|
|
if err := RootCmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|