fuel / oil

Fuel PHP Framework - Fuel v1.x Oil command-line package
http://fuelphp.com/docs/packages/oil/intro.html
106 stars 67 forks source link

Small fix in the arguments list #233

Closed sdrdis closed 10 years ago

sdrdis commented 10 years ago

Right now, if we have an items table and we execute fromdb on this table, it will generate those files:

Creating migration: APPPATH/migrations/001_create_items.php
Creating model: APPPATH/classes/model/item.php
Creating controller: APPPATH/classes/controller/items.php
Creating view: APPPATH/views/items/index.php
Creating view: APPPATH/views/items/view.php
Creating view: APPPATH/views/items/create.php
Creating view: APPPATH/views/items/edit.php
Creating view: APPPATH/views/items/_form.php
Creating view: APPPATH/views/template.php

The problem is that when we normally generate those files from a regular scaffold, the location are a little different:

This pull request tries to fix that, let me know your views on this.

Thanks,

WanWizard commented 10 years ago

Sounds logical, I don't have a problem with this.