func main() { app := cli.NewApp() app.Name = "sudolikeaboss" app.Version = "0.2.1" app.Usage = "use 1password from the terminal with ease" app.Action = func(c *cli.Context) { go runSudolikeaboss() C.StartApp() } app.Run(os.Args) }
func StartAppUi(url string) { strUrl := C.CString(url) C.StartApp(strUrl) }
func osInit() { runtime.LockOSThread() C.StartApp() }