cmd: add "llgo version" command

This commit is contained in:
Aofei Sheng
2024-07-10 15:33:53 +08:00
parent d6a38a567f
commit 1ed180887d
4 changed files with 114 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ import (
"github.com/goplus/llgo/cmd/internal/help"
"github.com/goplus/llgo/cmd/internal/install"
"github.com/goplus/llgo/cmd/internal/run"
"github.com/goplus/llgo/cmd/internal/version"
)
func mainUsage() {
@@ -45,6 +46,7 @@ func init() {
run.Cmd,
run.CmpTestCmd,
clean.Cmd,
version.Cmd,
}
}