This commit is contained in:
Simon Vieille 2015-02-11 16:13:07 +01:00
parent 0a8e3e999a
commit 2730233efb
2 changed files with 29 additions and 2 deletions

View file

@ -16,6 +16,30 @@ $ ./console
## Commands
### Show a user's profile
```
Usage:
users:profile [-i|--id="..."]
Options:
--id (-i) The user id
--help (-h) Display this help message
--quiet (-q) Do not output any message
--verbose (-v|vv|vvv) Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version (-V) Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
--no-interaction (-n) Do not ask any interactive question
Help:
users:profile
Show the profile of a user (default: auhentificated user).
Usage: users:profile [OPTIONS]
``
### Login on t411
```

View file

@ -15,9 +15,12 @@ class UsersProfileCommand extends Command
{
$this
->setName('users:profile')
->setDescription('')
->addOption('id', 'i', InputOption::VALUE_REQUIRED, '')
->setDescription('Show a user\'s profile')
->addOption('id', 'i', InputOption::VALUE_REQUIRED, 'The user id')
->setHelp("<info>%command.name%</info>
Show a user's profile (default is the auhentificated user).
Usage: <comment>users:profile</comment> [OPTIONS]");
}