summaryrefslogtreecommitdiff
path: root/notsure.go
blob: f9288b1fb3d139561c2e501f12b67d83b74c5bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package argvpb

import "fmt"

// these are things I'm not sure about doing
// or haven't figured out what to do with
// or are generally part of idiocracy

// this is sill in development
// figure out how to trigger this
var ArgvBash ArgsBash

type ArgsBash struct {
	Bash bool `arg:"--bash"                               help:"generate bash completion"`
}

// maybe this is a good idea, maybe not
func (pb *Argv) Gui() bool {
	fmt.Printf("CUR pb: %v\n", pb)
	fmt.Println("CUR ARGV:", pb.Real)
	if "gui" == pb.GetCmd() {
		return true
	}
	return false
}

func (pb *Argv) Dump() {
	fmt.Printf("CUR pb: %v\n", pb)
}