mirror of
https://github.com/Drop-OSS/interactive-clap.git
synced 2026-07-19 11:53:35 -04:00
start
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/target
|
||||
Generated
+7
@@ -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"
|
||||
@@ -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
@@ -0,0 +1,11 @@
|
||||
pub trait ToCli {
|
||||
type CliVariant;
|
||||
}
|
||||
|
||||
impl ToCli for String {
|
||||
type CliVariant = String;
|
||||
}
|
||||
|
||||
impl ToCli for u64 {
|
||||
type CliVariant = u64;
|
||||
}
|
||||
Reference in New Issue
Block a user