2018-03-13 08:11:10 +03:00
|
|
|
// Copyright 2011-2017 visualfc <visualfc@gmail.com>. All rights reserved.
|
2018-03-13 07:10:52 +03:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/visualfc/gotools/astview"
|
|
|
|
"github.com/visualfc/gotools/command"
|
|
|
|
"github.com/visualfc/gotools/docview"
|
2018-03-13 08:11:10 +03:00
|
|
|
"github.com/visualfc/gotools/finddecl"
|
2018-03-13 07:10:52 +03:00
|
|
|
"github.com/visualfc/gotools/finddoc"
|
|
|
|
"github.com/visualfc/gotools/goapi"
|
2018-03-13 08:11:10 +03:00
|
|
|
"github.com/visualfc/gotools/gofmt"
|
2018-03-13 07:10:52 +03:00
|
|
|
"github.com/visualfc/gotools/gopresent"
|
2018-03-13 08:11:10 +03:00
|
|
|
"github.com/visualfc/gotools/gotest"
|
2018-03-13 07:10:52 +03:00
|
|
|
"github.com/visualfc/gotools/jsonfmt"
|
|
|
|
"github.com/visualfc/gotools/oracle"
|
|
|
|
"github.com/visualfc/gotools/pkgs"
|
|
|
|
"github.com/visualfc/gotools/runcmd"
|
2018-03-13 08:11:10 +03:00
|
|
|
"github.com/visualfc/gotools/terminal"
|
2018-03-13 07:10:52 +03:00
|
|
|
"github.com/visualfc/gotools/types"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
command.Register(types.Command)
|
|
|
|
command.Register(jsonfmt.Command)
|
|
|
|
command.Register(finddoc.Command)
|
|
|
|
command.Register(runcmd.Command)
|
|
|
|
command.Register(docview.Command)
|
|
|
|
command.Register(astview.Command)
|
|
|
|
command.Register(gopresent.Command)
|
|
|
|
command.Register(goapi.Command)
|
|
|
|
command.Register(pkgs.Command)
|
|
|
|
command.Register(oracle.Command)
|
2018-03-13 08:11:10 +03:00
|
|
|
command.Register(gofmt.Command)
|
|
|
|
command.Register(gotest.Command)
|
|
|
|
command.Register(finddecl.Command)
|
|
|
|
command.Register(terminal.Command)
|
2018-03-13 07:10:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
command.AppName = "gotools"
|
2018-03-13 08:11:10 +03:00
|
|
|
command.AppVersion = "1.9"
|
2018-03-13 07:10:52 +03:00
|
|
|
command.AppInfo = "Go tools for liteide."
|
|
|
|
command.Main()
|
|
|
|
}
|