-
Notifications
You must be signed in to change notification settings - Fork 3
/
main.go
39 lines (36 loc) · 1.04 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Package main is the-gpl entry point for all chapters.
package main
import (
"github.com/opendroid/the-gpl/chapter1/bot"
"github.com/opendroid/the-gpl/chapter1/channels"
"github.com/opendroid/the-gpl/chapter1/lissajous"
"github.com/opendroid/the-gpl/chapter1/livecaption"
"github.com/opendroid/the-gpl/chapter1/mas"
"github.com/opendroid/the-gpl/chapter2/bitsCount"
"github.com/opendroid/the-gpl/chapter2/tempConv"
"github.com/opendroid/the-gpl/chapter5"
"github.com/opendroid/the-gpl/chapter7"
"github.com/opendroid/the-gpl/chapter8"
"github.com/opendroid/the-gpl/serve/shell"
"github.com/opendroid/the-gpl/serve/web"
"os"
)
// main initializes all modules. then enables commands eg:
//
// go run main.go server -port=8081
func main() {
// Init modules - Sets up CLIDegrees Interface
bitsCount.InitCli()
bot.InitCli()
channels.InitCli()
chapter5.InitCli()
chapter7.InitCli()
lissajous.InitCli()
livecaption.InitCli()
mas.InitCli()
tempConv.InitCli()
web.InitCli()
chapter8.InitCli()
// Execute commands
shell.ExecCLICmd(os.Args[:])
}