diff --git a/Cargo.toml b/Cargo.toml index 8e54a1d..4bf94f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ name = "monolith" version = "2.0.4" authors = ["Sunshine "] +description = "CLI tool to save webpages as a single HTML file" [dependencies] base64 = "0.10.1" diff --git a/src/main.rs b/src/main.rs index 6087ca3..bf75801 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +#[macro_use] extern crate clap; extern crate monolith; @@ -7,9 +8,9 @@ use monolith::html::{walk_and_embed_assets, html_to_dom, print_dom}; fn main() { let command = App::new("monolith") - .version("2.0.4") - .author("Sunshine ") - .about("CLI tool to save web pages as single HTML files") + .version(crate_version!()) + .author(crate_authors!()) + .about(crate_description!()) .arg(Arg::with_name("url") .required(true) .takes_value(true)