Parse Cargo.toml for strings
This commit is contained in:
parent
54ae61b728
commit
54fdd890f9
2 changed files with 5 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
||||||
name = "monolith"
|
name = "monolith"
|
||||||
version = "2.0.4"
|
version = "2.0.4"
|
||||||
authors = ["Sunshine <sunshine@uberspace.net>"]
|
authors = ["Sunshine <sunshine@uberspace.net>"]
|
||||||
|
description = "CLI tool to save webpages as a single HTML file"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
base64 = "0.10.1"
|
base64 = "0.10.1"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#[macro_use]
|
||||||
extern crate clap;
|
extern crate clap;
|
||||||
extern crate monolith;
|
extern crate monolith;
|
||||||
|
|
||||||
|
@ -7,9 +8,9 @@ use monolith::html::{walk_and_embed_assets, html_to_dom, print_dom};
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let command = App::new("monolith")
|
let command = App::new("monolith")
|
||||||
.version("2.0.4")
|
.version(crate_version!())
|
||||||
.author("Sunshine <sunshine@uberspace.net>")
|
.author(crate_authors!())
|
||||||
.about("CLI tool to save web pages as single HTML files")
|
.about(crate_description!())
|
||||||
.arg(Arg::with_name("url")
|
.arg(Arg::with_name("url")
|
||||||
.required(true)
|
.required(true)
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
|
|
Loading…
Reference in a new issue