simple demo cli-loop