Skip to content

Commit

Permalink
Merge pull request #1 from cruzerngz/devel
Browse files Browse the repository at this point in the history
First version stable
  • Loading branch information
facesthe authored Jul 25, 2022
2 parents 6e8112e + c84b2c0 commit e576cb9
Show file tree
Hide file tree
Showing 9 changed files with 1,024 additions and 132 deletions.
187 changes: 187 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@ edition = "2021"

[dependencies]
serde = {version = "1.0.137", features = ["derive"]}
serde_json = "1.0.82"
serde_json = {version = "1.0.82", features = ["preserve_order"]}
base64 = "0.13.0"
inflate = "0.4.5"
deflate = "1.0.0"
clap = {version = "3.2.7", features = ["derive"]}
crossterm = "0.24.0"

[profile.release]
opt-level = "s"
codegen-units = 1
strip = "symbols"
lto = true
12 changes: 6 additions & 6 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,24 @@ pub enum SubCommands {
#[clap(value_parser)]
infile: Option<String>,

/// Destination directory (optional), for blueprint books/single blueprints
/// Destination directory (optional)
#[clap(short, long)]
destination: Option<String>
},

/// Export a single file or JSON tree as a blueprint string
#[clap(arg_required_else_help = true)]
Export {
/// Source directory or JSON file
/// Source directory or single JSON file
#[clap(value_parser)]
source: Option<String>,

/// Infile, for single blueprints
/// Outfile name (optional)
#[clap(short, long)]
infile: Option<String>,
outfile: Option<String>,

/// Outfile containing blueprint string
/// Destination directory (optional)
#[clap(short, long)]
outfile: Option<String>
destination: Option<String>
}
}
Loading

0 comments on commit e576cb9

Please sign in to comment.