Compare commits

..

2 Commits

Author SHA1 Message Date
1840b449d5 Update .gitignore 2023-11-04 13:16:35 -06:00
ca9a2ea804 Project restructure
Moved source files into cmd/ and pkg/ directories
2023-11-04 13:16:35 -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/lmcli
module git.mlow.ca/mlow/lm
go 1.19

View File

@ -1,16 +0,0 @@
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 Normal file
View File

@ -0,0 +1,16 @@
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)
}
}