prepare list subcmd