mdBook can be used either as a command line tool or a Rust library. Let's focus on the command line tool capabilities first.