gateway: added --output to commands that strictly require it

This commit is contained in:
Jędrzej Stuczyński
2023-03-30 15:36:38 +01:00
parent 4feb168cf7
commit 479327849a
29 changed files with 105 additions and 110 deletions
-12
View File
@@ -24,18 +24,6 @@ fn pretty_build_info_static() -> &'static str {
&PRETTY_BUILD_INFORMATION
}
#[derive(Clone, ValueEnum)]
enum OutputFormat {
Json,
Text,
}
impl Default for OutputFormat {
fn default() -> Self {
OutputFormat::Text
}
}
#[derive(Parser)]
#[clap(author = "Nymtech", version, about, long_version = pretty_build_info_static())]
struct Cli {