blob: 09660f03ae8799330315fe83fdd8488c4cadad39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package cmd
import (
"fmt"
"os"
"github.com/spf13/cobra"
)
func Execute() {
if err := rootCmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}
var rootCmd = &cobra.Command{
Use: "wx",
Short: "wx is a front-end for NOAA's Aviation Weather Center",
Long: `A front-end for NOAA's Aviation Weather Center.
Capable of fetching weather information from the Center's Text Data Server
(TDS) and displaying it in various formats.`,
}
|