cmd_part: add partition-related command