UnionOfRAD/lithium — Issue #203: li3 Console "USAGE" Section Outputs Singular Class Names Only
Author: tmaiaroto
Created: 2011-11-30 19:34:33+00:00
State: open

When creating an li3 console command extension (class extends \ltihium\console\Command), the console always outputs a singular version of the class name under the "USAGE" section.

So for example: class Users extends \lithium\console\Command { ...
Which may set up some fixture data or perform other console tasks...When going to run: li3 users
(not specifying a method/command)
The console will return under the "USAGE" section all the commands available but will look like: li3 user instead of: li3 users

It's a display thing only. You can of course still run: li3 users just fine. Of course running li3 user will result in a "Command `User` not found." error. So it's just a visual mislead.