Compare commits

..

2 Commits

Author SHA1 Message Date
442804fde5 Update .gitignore 2023-11-04 13:08:03 -06:00
214cfdaea9 Project restructure
Moved source files into cmd/ and pkg/ directories
2023-11-04 13:08:03 -06:00
3 changed files with 17 additions and 17 deletions

2
go.mod
View File

@ -1,4 +1,4 @@
module git.mlow.ca/mlow/lm module git.mlow.ca/mlow/lmcli
go 1.19 go 1.19

16
lmcli.go Normal file
View File

@ -0,0 +1,16 @@
package main
import (
"fmt"
"os"
"git.mlow.ca/mlow/lmcli/pkg/cli"
)
func main() {
lmcli := cli.NewRootCmd()
if err := lmcli.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}

16
main.go
View File

@ -1,16 +0,0 @@
package main
import (
"fmt"
"os"
"git.mlow.ca/mlow/lm/pkg/cli"
)
func main() {
cmd := cli.NewRootCmd()
if err := cmd.Execute(); err != nil {
fmt.Println(err)
os.Exit(1)
}
}