Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 docs
Octocat-spinner-32 src
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGES.txt
Octocat-spinner-32 CONTRIBUTORS.txt
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 setup.cfg
Octocat-spinner-32 setup.py
README.rst

Introduction

This package is part of the templer code generator system. It provides local command templates for the archetype and plone_basic templates from templer.plone and is dependent on that package. Installing templer.plone[localcommands] will automatically include this package.

Local Commands

Templer local commands are an extension of the PasteScript local command concept which allow the user to insert additional features into a skeleton package already created by a templer template.

Executing Local Commands

The first step in accessing local commands is to build a package skeleton using one of the templer templates which support local commands:

bin/templer plone_basic example.package

When the run is completed, you should see output that informs you that localcommands are available for this new package:

Your new package supports local commands. To access them, change
directories into the 'src' directory inside your new package. From there,
you will be able to run the command `paster add --list` to see the local
commands available for this package.

Note

Local commands do not work on setup.py folder level. You need to enter the src/ folder itself.

Follow these instructions to see the local commands you have available to you from the context of your plone_basic package skeleton. You may also run paster add --list-all to see the full list of local commands available in your current installation. Commands not available within the current package will be prefaced with an 'N' character in the listing.

Provided Local Templates

This package provides local command templates for the archetype and plone_basic templates:

archetype

contenttype
A skeleton Archetypes content type
schema_field
An iterative generator for Archetypes schema fields

plone_basic

browserview
A zope BrowserView class, interface and template
browserlayer
A zope BrowserLayer interface and GenericSetup registration
setuphandlers
A setuphandlers for policy packages
upgradestep
A portal_setup upgrade step

Issues

Issues with this package should be reported in the package repository on GitHub.

Something went wrong with that request. Please try again.