2023-10-28 21:40:29 -07:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2023-10-29 21:18:58 -07:00
|
|
|
"git.nicholasnovak.io/nnovak/spatial-db/connector"
|
2023-10-29 01:24:35 -07:00
|
|
|
"git.nicholasnovak.io/nnovak/spatial-db/visualization"
|
|
|
|
"github.com/spf13/cobra"
|
2023-10-28 21:40:29 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2023-10-29 01:24:35 -07:00
|
|
|
rootCmd := cobra.Command{
|
|
|
|
Use: "spatialdb",
|
|
|
|
}
|
|
|
|
|
|
|
|
rootCmd.AddCommand(visualization.VisualizeCommand)
|
2023-10-29 21:18:58 -07:00
|
|
|
rootCmd.AddCommand(connector.ProxyPortCommand)
|
2023-10-29 01:24:35 -07:00
|
|
|
|
|
|
|
if err := rootCmd.Execute(); err != nil {
|
|
|
|
panic(err)
|
|
|
|
}
|
2023-10-28 21:40:29 -07:00
|
|
|
}
|