Page MenuHomeIn-Portal Phabricator

INP-1482 - Add "ConsoleIO" class
ClosedPublic

Authored by alex on Sep 20 2015, 8:02 AM.

Details

Test Plan
  1. run every possible console command with every possible argument
  2. confirm, that no Fatal Error or Exception happens and command does what it needs to

Diff Detail

Repository
rINP In-Portal
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

alex updated this revision to Diff 313.Sep 20 2015, 8:02 AM
alex retitled this revision from to INP-1482 - Add "ConsoleIO" class.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1482.
alex updated this revision to Diff 315.Sep 20 2015, 9:09 AM
alex edited edge metadata.
  1. don't use factory for getting ConsoleIO class to avoid dependency loop during classmap:rebuild command run
  2. add <question> output formmatter style to ConsoleIO::choose method like it's done in ConsoleIO::ask method
glebs accepted this revision.Sep 23 2015, 3:17 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.Sep 23 2015, 3:17 AM
This revision was automatically updated to reflect the committed changes.