gophernotes/main.go
Daniel Whitenack df7cfc9cb6 fix linting
2017-09-20 11:53:36 -04:00

28 lines
425 B
Go

package main
import (
"flag"
"log"
)
const (
// Version defines the gophernotes version.
Version string = "1.0.0"
// ProtocolVersion defines the Jupyter protocol version.
ProtocolVersion string = "5.0"
)
func main() {
// Parse the connection file.
flag.Parse()
if flag.NArg() < 1 {
log.Fatalln("Need a command line argument specifying the connection file.")
}
// Run the kernel.
runKernel(flag.Arg(0))
}