In Creating an Archetypes product with paster, we were able to create a package shell with all the necessary code to install a product, although it was unproductive.
We are now going to add some useful functionality by means of, again, our dear
When we ran
paster in Creating an Archetypes product with paster, we highlighted some of its output, copied below:
The project you just created has local commands. These can be used from within the product.
Paster local commands are available inside the project folder. So let's move inside it:
To add a new content type inside the product, run the following command:
paster addcontent contenttype