boboldehampsink/element-type-generator

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (0.2) of this package.

This script will generate a basic Craft Element Type based on the Events sample plugin by Pixel & Tonic

0.2 2015-05-21 18:36 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:45:42 UTC


README

A CLI script that generates Element Types

Deprecated

With the release of Craft 3 on 4-4-2018, this tool has been deprecated. You can still use this with Craft 2 but you are encouraged to use (and develop) a Craft 3 version. At this moment, I have no plans to do so.

Arguments

  1. Plugin name
  2. Model name
  3. Section name
  4. Destination

Changelog

0.2

  • Now rewrites file contents aswell
  • Fix for ensuring lower case dirnames
  • Added MIT license

0.1

  • Support for creating new Element Type directory structure