0001/01/01 00:00:12  (292 Y): regex: argv features are disabled
0001/01/01 00:00:12  (292 Y): argv features are under active development
0001/01/01 00:00:12  (292 Y):
0001/01/01 00:00:12  (292 Y): argv Gui() support has been moved to go.wit.com/lib/fhelp
0001/01/01 00:00:12  (292 Y): Change your code. Example code is here:
0001/01/01 00:00:12  (292 Y): go.wit.com/apps/forge/argv.go
0001/01/01 00:00:12  (292 Y): go.wit.com/apps/forge/main.go
0001/01/01 00:00:12  (292 Y):
# add this in your bashrc:

# todo: add this to go-arg as a 'hidden' go-arg option --bash
#
# Put the below in the file: ~/.local/share/bash-completion/completions/regex
#
# todo: make this output work/parse with:
# complete -C regex --bash go

_regex_complete()
{
	# sets local to this func vars
	local cur prev all
	cur=${COMP_WORDS[COMP_CWORD]}
	# prev=${COMP_WORDS[COMP_CWORD-1]}
	all=${COMP_WORDS[@]}

	# this is where we generate the go-arg output
        GOARGS=$(regex --auto-complete \'$cur\' $all)

	# this compares the command line input from the user
	# to whatever strings we output
        COMPREPLY=( $(compgen -W "$GOARGS" -- $cur) )  # THIS WORKS
	return 0
}
complete -F _regex_complete regex

# copy and paste the above into your bash shell should work

