icehawk/component-template-generator

A generator tool for IceHawk components

v1.0.4 2016-11-20 21:16 UTC

This package is auto-updated.

Last update: 2024-11-10 05:40:19 UTC


README

A generator tool for IceHawk components.

Requirements

  • PHP version >= 7.0

Installation

With varification (recommended)

RELEASE="vX.X.X"
wget -c "https://github.com/icehawk/component-template-generator/releases/download/$RELEASE/icehawk-ctg.phar"
wget -c "https://github.com/icehawk/component-template-generator/releases/download/$RELEASE/icehawk-ctg.phar.asc"
gpg --keyserver hkps.pool.sks-keyservers.net --recv-keys C8107679
gpg --verify icehawk-ctg.phar.asc icehawk-ctg.phar

Without verification (not recommended)

RELEASE="vX.X.X"
wget -c "https://github.com/icehawk/component-template-generator/releases/download/$RELEASE/icehawk-ctg.phar"

Usage

# List commands
php icehawk-ctg.phar list

# Generate a new IceHawk component template 
php icehawk-ctg.phar generate:component [-f|--force] [targetDir]

# ... now answer the interactive questions and you're done.