6e41a56a7d
Change-Id: I5c8c524c4d3f569b21b5b829722b3c49952cb0ab
22 lines
305 B
Go
22 lines
305 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"opendev.org/airship/airshipctl/cmd"
|
|
)
|
|
|
|
func main() {
|
|
rootCmd, _, err := cmd.NewAirshipCTLCommand(os.Stdout)
|
|
if err != nil {
|
|
fmt.Fprintln(os.Stdout, err)
|
|
os.Exit(1)
|
|
}
|
|
|
|
if err := rootCmd.Execute(); err != nil {
|
|
fmt.Fprintln(os.Stdout, err)
|
|
os.Exit(1)
|
|
}
|
|
}
|