自動生成ツール

Moony 0.11.x、自動生成ツールを実装中。カレントディレクトリを「/www」だとすると:

アプリケーションの初期化

$ php /path/to/Moony/Generator.php -init
$   [create] /www/actions/
$   [create] /www/templates/
$   [create] /www/modules/
$   [create] /www/index.php
$   [create] /www/actions/Index.php
$   [create] /www/templates/Index.php

アクション生成

$ php /path/to/Moony/Generator.php Foo_Bar
$   [create] /www/actions/Foo/
$   [create] /www/actions/Foo/Bar.php
$   [create] /www/templates/Foo/
$   [create] /www/templates/Foo/Bar.php

単純なスケルトンが作れるだけだけど、ないより便利。