Switch CLI interface

added CLI php switch