Initial IronStorage project structure
This commit is contained in:
15
apps/cli/Cargo.toml
Normal file
15
apps/cli/Cargo.toml
Normal file
@@ -0,0 +1,15 @@
|
||||
[package]
|
||||
name = "ironstorage-cli"
|
||||
description = "Pass-compatible command-line frontend for IronStorage"
|
||||
version.workspace = true
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
publish = false
|
||||
|
||||
[[bin]]
|
||||
name = "ironstorage"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
clap.workspace = true
|
||||
ironstorage.workspace = true
|
||||
13
apps/cli/src/main.rs
Normal file
13
apps/cli/src/main.rs
Normal file
@@ -0,0 +1,13 @@
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(clippy::disallowed_types)]
|
||||
|
||||
use clap::Parser;
|
||||
|
||||
#[derive(Parser)]
|
||||
#[command(version, about = "A pass-compatible password-store client")]
|
||||
struct Arguments {}
|
||||
|
||||
fn main() {
|
||||
Arguments::parse();
|
||||
println!("{}", ironstorage::PRODUCT_NAME);
|
||||
}
|
||||
Reference in New Issue
Block a user