whisky
whisky copied to clipboard
[ Feat ] Include global version in Audit Command
Resolves #59
This is a little rough right now, but it's a good start. Path will need normalizing.
- ['installed globally?', Whisky::isInstalledGlobally() ? 'yes' : 'no'],
+ ['installed globally?', Whisky::isInstalledGlobally() ? 'yes (v'.(include Platform::getGlobalComposerHome().'/vendor/projektgopher/whisky/config/app.php')['version'].')' : 'no'],
+-------------------------+------------------------------------+
| key | value |
+-------------------------+------------------------------------+
| - Whisky - | |
| installed globally? | yes (v0.5.1) |
+-------------------------+------------------------------------+