2023-10-30 15:23:07 -06:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2024-02-21 21:55:38 -07:00
|
|
|
"git.mlow.ca/mlow/lmcli/pkg/lmcli"
|
|
|
|
"git.mlow.ca/mlow/lmcli/pkg/cmd"
|
2023-11-04 12:20:13 -06:00
|
|
|
)
|
2023-11-02 20:44:16 -06:00
|
|
|
|
2023-10-30 15:23:07 -06:00
|
|
|
func main() {
|
2024-02-21 21:55:38 -07:00
|
|
|
ctx, err := lmcli.NewContext()
|
|
|
|
if err != nil {
|
|
|
|
lmcli.Fatal("%v\n", err)
|
|
|
|
}
|
|
|
|
|
|
|
|
root := cmd.RootCmd(ctx)
|
|
|
|
if err := root.Execute(); err != nil {
|
|
|
|
lmcli.Fatal("%v\n", err)
|
2023-10-30 15:23:07 -06:00
|
|
|
}
|
|
|
|
}
|