Add clap-based commands

This commit is contained in:
Joscha 2024-12-27 17:26:51 +01:00
parent 48f75a1efd
commit 7928eda0d0
4 changed files with 194 additions and 2 deletions

View file

@ -1,4 +1,6 @@
mod bang;
pub mod bang;
#[cfg(feature = "clap")]
pub mod clap;
mod hidden;
mod prefixed;
@ -13,7 +15,7 @@ use euphoxide::{
},
};
pub use self::{bang::*, hidden::*, prefixed::*};
pub use self::{hidden::*, prefixed::*};
#[non_exhaustive]
pub struct Context {