Ticket Details

"li3 create -i" creates weird views

BUG Ticket (closed)

###What happened:
using the current git master version of lithium (lithium-0.2-2125-gec9468f).
run ```li3 create -i```
it asks: What would you like to create? (model/view/controller/test/mock) 
I write ```view```
output: ```.php created in views/run.```
created a blank view in directory ```/run```, file is named ```.php```


###What was expected:
- should have asked me the name of my view, or rejected ```li3 create``` without a view name.
- should have created a view named ```index.html.php```

I stumbled on this because ```li3 create Festivals``` was not creating views. Don't know if this is also a bug or not?
on 05.26.11 reported by: coryalder owned by: daschl

Updates

(wont-fix) on 05.31.11 by daschl
  • owner was changed to daschl
  • status was changed to closed
  • resolution was changed to wont-fix
hi, thanks for your ticket.

We've chosen to remove the interactive feature for now as it is broken and needs a rewrite. See the commit here: http://dev.lithify.me/lithium/commits/view/02e8eaecd55969d41fb99d44746c989711855bb2

You're right that it does not create views by default. This is by design for now, but may change in the future!

If you have any issues with the console, feel free to contact us on irc (#li3).

Regards, Mike