<?php
define("ABS_PATH", $_SERVER['DOCUMENT_ROOT']);
include(ABS_PATH . "/head_nav.php");
include(ABS_PATH . "/middle.php");
?>
          <div class="section">
            <div class="toc-wrapper">
              <span class="toc-title">Contents:</span>
              <ul class="toc">
                  <li class=""><a href="#Template_Tools">Template Tools</a></li>
                  <li class="sub"><a href="#section_tpage">tpage</a></li>
                  <li class="sub"><a href="#section_ttree">ttree</a></li>
              </ul>
            </div>
          </div>
          
                <div class="pod">
            <div class="section">
              <div class="head">
                <h1 id="Template_Tools">Template Tools</h1>
                <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
              </div>
              <div class="body">
                <p>
                      The Template Toolkit includes the following command line tools for
                      processing templates.
                    </p>
                    <div class="subsection">
                  <div class="head">
                    <h2 id="section_tpage" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">tpage</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          The <a href="/tools/tpage.php">tpage</a>
                          script can be used to process a single template using the Template
                          Toolkit.
                        </p>
                        <pre>$ tpage --define msg="Hello World" greeting.tt2</pre>
                        <p>
                          Use the <code>-h</code> option to get a summary of options:
                        </p>
                        <pre>$ tpage -h</pre>
                        <p>
                          See the <a href="/tools/tpage.php">Template::Tools::tpage</a> documentation for further information and
                          examples of use.
                        </p>
                  </div>
                </div>    <div class="subsection">
                  <div class="head">
                    <h2 id="section_ttree" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">ttree</h2>
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
                  </div>
                  <div class="body">
                    <p>
                          The <a href="/tools/ttree.php">ttree</a>
                          script can be used to process an entire directory of templates.
                        </p>
                        <pre>$ ttree --src /path/to/templates --dest /path/to/output</pre>
                        <p>
                          Use the <code>-h</code> option to get a summary of options:
                        </p>
                        <pre>$ ttree -h</pre>
                        <p>
                          See the <a href="/tools/ttree.php">Template::Tools::ttree</a> documentation for further information and
                          examples of use.
                        </p>
                  </div>
                </div>
              </div>
            </div>
            
            </div>
<?php include(ABS_PATH . "/footer.php"); ?>
