CLI api and tests added, parameter switch data doesn't require name