diff options
Diffstat (limited to 'templater')
-rwxr-xr-x | templater | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -51,8 +51,8 @@ if [ -z "$PROJECT" ]; then echo "" echo "available modules:" echo "" - #__templater_implementations | xargs -L 6 | column -t -c 6 | sed -e 's/^/\t/' - for module in `__templater_implementations`; do + #templater_implementations | xargs -L 6 | column -t -c 6 | sed -e 's/^/\t/' + for module in `templater_implementations`; do echo -e "\t $module: `cat $SHARE/$module/description`" done echo "" @@ -60,27 +60,27 @@ if [ -z "$PROJECT" ]; then fi # Initialize -__templater_init +templater_init # Go to project folder cd $PROJECT &> /dev/null # Setup modules if [ -z "$MODULES" ]; then - for project in `__templater_implementations`; do - __templater_ask $project + for project in `templater_implementations`; do + templater_ask $project done else for module in $MODULES; do - if `__templater_implementations | grep -q "^$module"`; then + if `templater_implementations | grep -q "^$module"`; then #templater_$module $SHARE/$module/setup $SHARE else - __templater_echo "No such module $module, skipping" + templater_echo "No such module $module, skipping" fi done fi # Teardown cd $CWD -__templater_echo "Done processing the project :)" +templater_echo "Done processing the project :)" |