replace command input array by console InputInterface