lmcli/main.go
Matt Low 6599af042b Minor refactor
- Use init() function to set up commands
- Expose an Execute() function instead of the root command
2023-11-14 17:04:12 +00:00

16 lines
174 B
Go

package main
import (
"fmt"
"os"
"git.mlow.ca/mlow/lmcli/pkg/cli"
)
func main() {
if err := cli.Execute(); err != nil {
fmt.Fprint(os.Stderr, err)
os.Exit(1)
}
}