cli interface for pi - wip