> confinicky
Confinicky provides you with a CLI for performing basic CRUD operations on your export and alias commands.
View on Github
installation
gem install confinicky
Confinicky works with Ruby 2.0+
setup
cfy setup
Setting up confinicky is easy. Specify a file to store your aliases and another for environment variables. These can be stored in the same file or even your .bashrc if you'd like.
For organizational purposes I recommend using two dedicated files and sourcing them in your .bashrc file.
set a variable / alias
cfy set env FOO=bar
cfy set alias home='cd ~'
Setting a value will create a new entry or update an existing definition with the value you assign.
remove a variable / alias
cfy rm env FOO
cfy rm alias home
list variables / aliases
cfy list
cfy ls env
cfy ls alias
Specify a type to only show vars or aliases.
inspect a variable
cfy inspect PATH
Have a long path variable? Use the inspect method to print a table of every value it contains.
clean your configuration
cfy clean env
Confinicky will reduce duplicate statements so that it can properly perform CRUD operations on your document.