2020-04-01 09:55:42 -05:00
|
|
|
/*
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
*/
|
|
|
|
|
2019-04-22 15:45:32 -05:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2019-05-23 14:34:28 -05:00
|
|
|
"fmt"
|
2019-04-29 12:05:21 -05:00
|
|
|
"os"
|
|
|
|
|
2019-06-25 16:31:11 -05:00
|
|
|
"opendev.org/airship/airshipctl/cmd"
|
2019-04-22 15:45:32 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2020-08-25 17:37:19 -05:00
|
|
|
if err := cmd.NewAirshipCTLCommand(os.Stdout).Execute(); err != nil {
|
2020-05-11 13:43:14 -05:00
|
|
|
fmt.Fprintln(os.Stderr, err)
|
2019-05-23 14:34:28 -05:00
|
|
|
os.Exit(1)
|
|
|
|
}
|
2019-04-22 15:45:32 -05:00
|
|
|
}
|