View Code? Open in Web Editor
NEW
newScript creates new script files according to a template and a configuration file
newscript's Introduction
- This Script will help you creating new scripts according to a template and a configuration file
- First, edit the configuration file : cfg/newScript.cfg
- Run the commande ./newScript.sh --name 'myNewScriptFilename.sh' --desc 'My script description here'
- This will create a script by coppyning the template and replacing theese variables:
- VARSFX : Configuration file
- AUTHOR : Configuration file
- EMAIL : Configuration file
- WEBSITE : Configuration file
- VERSION : Configuration file
- DESCRIPTION : Arguments value
- DATECREATED : Dynamicly replaced
- DATEUPDATED : Dynamicly replaced
- SCRIPTNAME : Arguments value