A generator tool for IceHawk components.
- PHP version >= 7.0
- Download the latest release.
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
RELEASE="vX.X.X"
wget -c "https://github.com/icehawk/component-template-generator/releases/download/$RELEASE/icehawk-ctg.phar"
# 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.