Home | Index

r3 Reference Guide

r3 target commands

Once you have set up some dimension elements, you can create a template structure in the file system.

usage:r3 [-c <arg>] target
target tools

searchpath            pathinfo for page
info                  target info
list                  list targets
create [-s]           create a new page
delete [-t]           remove a page
save [-f]             save page data to file
load                  load target data from file

r3 target create

r3 target create [-s] location_path

Creates a directory for the template, updates the pages table in the database and inserts a default template into the file system. The name of the template created appends the page element specified in the location with the extension .ros.

For example:

r3 target create -s cookery/us/index.html

This command puts a template called index.html.ros in $R3HOME/templates/cookery/us/index.html/ (note ".../index.html/" here is a directory, not a file). By default (that is, without the -s flag), r3 target create creates the template at the highest level, which in this example would be $R3HOME/templates/cookery/us/generic/index.html/

See r3 generate command for more information about how subdirectories are generated to the web space area.

aliases

  • none

flags

  • -s: creates the template at the specified level.