This commit is contained in:
FroVolod
2021-09-17 18:08:00 +03:00
commit 89d37e4864
5 changed files with 27 additions and 0 deletions
Vendored
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
/target
Generated
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "interactive_clap"
version = "0.1.0"
+8
View File
@@ -0,0 +1,8 @@
[package]
name = "interactive_clap"
version = "0.1.0"
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
+11
View File
@@ -0,0 +1,11 @@
pub trait ToCli {
type CliVariant;
}
impl ToCli for String {
type CliVariant = String;
}
impl ToCli for u64 {
type CliVariant = u64;
}