mirror of
https://github.com/pldubouilh/blockfast.git
synced 2026-08-28 12:56:35 -04:00
anyhow
This commit is contained in:
@@ -1,14 +1,5 @@
|
||||
use clap::{App, Arg};
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
#[allow(clippy::large_enum_variant)]
|
||||
pub enum Error {
|
||||
#[error("cant parse")]
|
||||
CantParse,
|
||||
#[error("general error")]
|
||||
UnknownError,
|
||||
}
|
||||
|
||||
pub fn cli() -> App<'static, 'static> {
|
||||
App::new("ban internets scanner fast 🍶")
|
||||
.version("v0.0.1")
|
||||
|
||||
Reference in New Issue
Block a user