test: clean-up and comment `cli.ml`