| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | protected function configure() |
||
| 13 | { |
||
| 14 | $this |
||
| 15 | ->setName('db:console') |
||
| 16 | ->setAliases(array('mysql-client')) |
||
| 17 | ->addOption( |
||
| 18 | 'use-mycli-instead-of-mysql', |
||
| 19 | null, |
||
| 20 | InputOption::VALUE_NONE, |
||
| 21 | 'Use `mycli` as the MySQL client instead of `mysql`' |
||
| 22 | ) |
||
| 23 | ->addOption( |
||
| 24 | 'no-auto-rehash', |
||
| 25 | null, |
||
| 26 | InputOption::VALUE_NONE, |
||
| 27 | 'Same as `-A` option to MySQL client to turn off ' . |
||
| 28 | 'auto-complete (avoids long initial connection time).' |
||
| 29 | ) |
||
| 30 | ->setDescription('Opens mysql client by database config from local.xml'); |
||
| 31 | } |
||
| 32 | |||
| 64 |