summaryrefslogtreecommitdiff
path: root/argv.go
blob: 59ad7ff342604f3f34c4d4b743a37d9378dcdee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package main

/*
	this parses the command line arguements
	this enables command line options from other packages like 'gui' and 'log'
*/

var argv args

type args struct {
	Demo string `arg:"positional"                   help:"this is just a demo"`
}

func (a args) Description() string {
	return `
This basicwindow example demonstrates multiple windows
`
}

func (args) Version() string {
	return "basicwindow " + VERSION
}