A Bash script repository for generating code templates and handling command-line arguments. It includes scripts for creating C and C++ templates, greeting messages, author info, and concatenating specific file types in a directory.
-
codeFileMaker.sh- Validates and processes command-line arguments to generate code templates.
- Uses helper scripts 'makeHeader.sh' and 'codeTemplateMaker.sh'.
-
codeTemplateMaker.sh- Generates either a C or C++ code template based on the provided argument.
- Includes error handling for incorrect or invalid arguments.
-
hello.sh- Takes a command-line argument (presumably a name) and prints a greeting message.
-
makeHeader.sh- Generates a C/C++ block comment containing information about the author, date, and description.
-
openAllCode.sh- Checks for command-line arguments, sets a directory variable based on the input and concatenates specified file types in that directory.
./codeFileMaker.sh <-c|-cpp> <name> <description> -o <output file>./codeTemplateMaker.sh <-c|-cpp>./hello.sh <name>./makeHeader.sh <author> <description>./openAllCode.sh [directory]