Changed versions and clap info output

This commit is contained in:
G2-Games 2024-07-11 23:39:14 -05:00
parent e1a6a80659
commit 4e0df5412d
3 changed files with 7 additions and 3 deletions

View file

@ -14,7 +14,7 @@ name = "pakutil"
cz = { path = "../cz/", features = ["png"] }
luca_pak = { path = "../luca_pak/" }
image = "0.25"
image = { version = "0.25", default-features = false, features = ["png"] }
clap = { version = "4.5.9", features = ["derive"] }
[lints]

View file

@ -1,8 +1,10 @@
use clap::{error::ErrorKind, Error, Parser, Subcommand};
use std::{fs, path::{Path, PathBuf}};
/// Utility to maniuplate CZ image files from the LUCA System game engine by
/// Prototype Ltd.
#[derive(Parser)]
#[command(name = "CZ Utils")]
#[command(name = "CZ Utility")]
#[command(version, about, long_about = None)]
struct Cli {
#[command(subcommand)]

View file

@ -2,8 +2,10 @@ use std::{fs, path::PathBuf};
use clap::{error::{Error, ErrorKind}, Parser, Subcommand};
use luca_pak::Pak;
/// Utility to maniuplate PAK archive files from the LUCA System game engine by
/// Prototype Ltd.
#[derive(Parser)]
#[command(name = "CZ Utils")]
#[command(name = "PAK Utility")]
#[command(version, about, long_about = None)]
struct Cli {
#[arg(value_name = "PAK FILE")]