Home | Index

r3 Reference Guide

r3 template delete

r3 template delete location templatename

Deletes a template from the given location. If the location parameter contains both path and target information, r3 looks for a template associated only with that target. If the location parameter contains path information but no target name, r3 assumes the template to delete is generic. For example, if you run the command like this:

r3 template delete cookery/us/blah.html old.ros

r3 deletes the template file old.ros found at $R3HOME/templates/cookery/us/blah.html/old.ros. For example:

r3 template delete cookery/us/ old.ros

This command deletes the generic template named old.ros that is found at $R3HOME/templates/cookery/us/generic/old.ros and that was available to all targets under cookery/us. Note that to act on generic templates, you can also use the fully specified path. So the following command is equivalent to the one above:

r3 template delete cookery/us/generic old.ros

aliases