rewrite using lixian-cli