- Notifications
You must be signed in to change notification settings - Fork3
make(1) bash scripting better
License
budlabs/bashbud
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Thebashbud script/command is a very simplecp(1)
wrapper that simply merge a directoryfrom~/.config/bashbud/
into a targetdirectory. The directories in~/.config/bashbud
are calledtemplates, and the default templateis calleddefault. The default template have acarefully createdMakefile, that makes (no punintended) bash script maintenance pleasant.Especially in regards to managing commandlineoptions and documentation.
There is atutorial in the wiki, that walks youthrough all the functionality of thebashbudcommand and what theMakefile does.
If you useArch Linux you can getbashbudfromAUR.
Make dependencies:GNU make,GNU awk, lowdown
(configure the installation inconfig.mak
, if needed)
$ git clone https://github.com/budlabs/bashbud.git$ cd bashbud$ make# make install$ bashbud -vbashbud - version: 1.99updated: 2022-04-14 by budRich
bashbud [OPTIONS] [TARGET_DIRECTORY]
TARGET_DIRECTOY defaults to currentworking directory.
-c, --config-dir DIRECTORY | override the default (~/.config/bashbud) -t, --template TEMPLATE | TEMPLATE is the name of a directory in BASHBUD_DIR -n, --new DIRECTORY | same as: --template default -v, --version | print version info and exit -h, --help | print help and exit -a, --add | add FILE to (mandatory --template) TEMPLATE -f, --force DIRECTORY | Overwrite already existing files imported from template-u, --update | update TEMPLATE based on current directory
bashbud is licensed under theMIT license
About
make(1) bash scripting better