cli: Add `dry-run' option
cli: Modify to use `append' instead of bytes.Buffer