Skip to main content

local commands for plone templates in the templer system

Project description

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.

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

Issues

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

Contributors

Cris Ewing, Author

Based on code from zopeskel, contributors to which include:

  • Daniel Nouri

  • Tarek Ziadé

  • Mustapha Benali

  • Sylvain Viollon

  • Alan Hoey

  • Josh Johnson

  • Emanuel Sartor

  • Matthew Wilkes

  • Joel Burton

  • Cris Ewing

  • Chris Calloway

  • Chris Rossi

Changelog

1.0b1 May 10, 2012

  • Port contenttype and schema_field local command from zopeskel archetype local commands [cewing]

  • Port BrowserView and BrowserLayer local commands from zopeskel plone local commands [cewing]

  • Package created using templer [Cris Ewing]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

templer.plone.localcommands-1.0b1.zip (28.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page