add todo item from command line using API