doc
This commit is contained in:
parent
0a8e3e999a
commit
2730233efb
24
README.md
24
README.md
|
@ -16,6 +16,30 @@ $ ./console
|
||||||
|
|
||||||
## Commands
|
## 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
|
### Login on t411
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
|
@ -15,9 +15,12 @@ class UsersProfileCommand extends Command
|
||||||
{
|
{
|
||||||
$this
|
$this
|
||||||
->setName('users:profile')
|
->setName('users:profile')
|
||||||
->setDescription('')
|
->setDescription('Show a user\'s profile')
|
||||||
->addOption('id', 'i', InputOption::VALUE_REQUIRED, '')
|
->addOption('id', 'i', InputOption::VALUE_REQUIRED, 'The user id')
|
||||||
->setHelp("<info>%command.name%</info>
|
->setHelp("<info>%command.name%</info>
|
||||||
|
|
||||||
|
Show a user's profile (default is the auhentificated user).
|
||||||
|
|
||||||
Usage: <comment>users:profile</comment> [OPTIONS]");
|
Usage: <comment>users:profile</comment> [OPTIONS]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue