Add sub command to calculate sha256 sum of an OSC file

This commit is contained in:
2023-09-03 18:49:28 +02:00
parent 9256e242eb
commit bfa7cc3c6b
5 changed files with 233 additions and 0 deletions

View File

@@ -34,6 +34,11 @@ pub struct Cli {
#[derive(Subcommand)]
pub enum Command {
#[command(
name = "sha256sum",
about = "Berechne SHA256 Prüfsumme für die angegebene Datei"
)]
Sha256Sum { inputfile: String },
#[command(about = "Zeigt alle enthaltenen Kataloge und Formulare mit Revision an.")]
List {
inputfile: String,