Skip to content
/ vars Public

🌳 Go Bonzai™ Cached Variables, a persistent, portable alternative to environment variables and getopt insanity to preserve state between execution of commands

License

Notifications You must be signed in to change notification settings

rwxrob/vars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌳 Go Bonzai™ Cached Variables

GoDoc License

Install

This command can be installed as a standalone program or composed into a Bonzai command tree.

Standalone

go install github.com/rwxrob/vars/cmd/var@latest

Composed

package z

import (
	Z "github.com/rwxrob/bonzai/z"
	"github.com/rwxrob/vars"
)

var Cmd = &Z.Cmd{
	Name:     `z`,
	Commands: []*Z.Cmd{help.Cmd, vars.Cmd},
}

Tab Completion

To activate bash completion just use the complete -C option from your .bashrc or command line. There is no messy sourcing required. All the completion is done by the program itself.

complete -C var var

If you don't have bash or tab completion check use the shortcut commands instead.

Embedded Documentation

All documentation (like manual pages) has been embedded into the source code of the application. See the source or run the program with help to access it.

About

🌳 Go Bonzai™ Cached Variables, a persistent, portable alternative to environment variables and getopt insanity to preserve state between execution of commands

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages