2022-08-09 16:06:28 -06:00
|
|
|
package commands
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"github.com/spf13/cobra"
|
2022-09-02 14:35:55 -07:00
|
|
|
log "github.com/spf13/jwalterweatherman"
|
2022-08-09 16:06:28 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
func NewMapCommand() *cobra.Command {
|
|
|
|
|
|
|
|
|
|
var mapCmd = &cobra.Command{
|
|
|
|
|
Use: "map",
|
|
|
|
|
Short: "Display map information",
|
|
|
|
|
Long: "Display map information",
|
|
|
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
|
|
|
err := cmd.Help()
|
|
|
|
|
if err != nil {
|
2022-09-02 14:35:55 -07:00
|
|
|
log.ERROR.Fatal(err)
|
2022-08-09 16:06:28 -06:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return mapCmd
|
|
|
|
|
}
|