cmd/llog: main cmd
This commit is contained in:
@@ -46,6 +46,9 @@ type install struct {
|
|||||||
xcmd.Command
|
xcmd.Command
|
||||||
*App
|
*App
|
||||||
}
|
}
|
||||||
|
type App struct {
|
||||||
|
xcmd.App
|
||||||
|
}
|
||||||
type run struct {
|
type run struct {
|
||||||
xcmd.Command
|
xcmd.Command
|
||||||
*App
|
*App
|
||||||
@@ -58,10 +61,11 @@ type version struct {
|
|||||||
xcmd.Command
|
xcmd.Command
|
||||||
*App
|
*App
|
||||||
}
|
}
|
||||||
type App struct {
|
//line cmd/llgo/main_cmd.gox:1
|
||||||
xcmd.App
|
func (this *App) MainEntry() {
|
||||||
|
//line cmd/llgo/main_cmd.gox:1:1
|
||||||
|
this.Short(`llgo is a Go compiler based on LLVM in order to better integrate Go with the C ecosystem including Python.`)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *App) Main() {
|
func (this *App) Main() {
|
||||||
_gop_obj0 := &build{App: this}
|
_gop_obj0 := &build{App: this}
|
||||||
_gop_obj1 := &clean{App: this}
|
_gop_obj1 := &clean{App: this}
|
||||||
@@ -242,6 +246,5 @@ func (this *version) Classfname() string {
|
|||||||
return "version"
|
return "version"
|
||||||
}
|
}
|
||||||
func main() {
|
func main() {
|
||||||
//line cmd/llgo/version_cmd.gox:24:1
|
|
||||||
new(App).Main()
|
new(App).Main()
|
||||||
}
|
}
|
||||||
|
|||||||
1
cmd/llgo/main_cmd.gox
Normal file
1
cmd/llgo/main_cmd.gox
Normal file
@@ -0,0 +1 @@
|
|||||||
|
short `llgo is a Go compiler based on LLVM in order to better integrate Go with the C ecosystem including Python.`
|
||||||
Reference in New Issue
Block a user