prompt to generate new keys if none exist

This commit is contained in:
Matt Drollette
2014-12-14 23:12:14 -06:00
parent ed933f89b6
commit 9d077f2ccc
5 changed files with 169 additions and 96 deletions

View File

@@ -2,12 +2,16 @@ package main
import (
"os"
"runtime"
"github.com/MDrollette/go-i2p/cmd"
"github.com/codegangsta/cli"
)
func main() {
// use at most half the cpu cores
runtime.GOMAXPROCS(runtime.NumCPU() / 2)
app := cli.NewApp()
app.Name = "go-i2p"
app.Version = "0.1.0"