Ejemplo n.º 1
0
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)
}
Ejemplo n.º 2
0
func StartAppUi(url string) {
	strUrl := C.CString(url)
	C.StartApp(strUrl)
}
Ejemplo n.º 3
0
func osInit() {
	runtime.LockOSThread()
	C.StartApp()
}