@@ -6,15 +6,16 @@ use crate::diagnostic::DiagnosticCommand;
66use crate :: registry:: RegistryCommand ;
77use clap:: { Args , Parser , Subcommand } ;
88
9- /// Command line arguments.
9+ /// Manage semantic convention registry and telemetry schema workflows (OpenTelemetry Project)
1010#[ derive( Parser ) ]
1111#[ command(
1212 author,
1313 version,
1414 about,
1515 long_about = None ,
1616 subcommand_required = true ,
17- arg_required_else_help = true
17+ arg_required_else_help = true ,
18+ bin_name = "weaver"
1819) ]
1920pub struct Cli {
2021 /// Turn debugging information on
@@ -46,11 +47,9 @@ pub enum Commands {
4647 Diagnostic ( DiagnosticCommand ) ,
4748 /// Generate shell completions
4849 Completion ( CompletionCommand ) ,
49- /// Generate markdown documentation (hidden)
50- #[ command( hide = true ) ]
51- Markdown ( MarkdownCommand ) ,
5250}
5351
52+ /// Commands for generating completions and markdown documentation
5453#[ derive( Args ) ]
5554pub struct CompletionCommand {
5655 /// The shell to generate the completions for
@@ -61,10 +60,3 @@ pub struct CompletionCommand {
6160 #[ arg( long, hide = true ) ]
6261 pub completion_file : Option < std:: path:: PathBuf > ,
6362}
64-
65- #[ derive( Args ) ]
66- pub struct MarkdownCommand {
67- /// The file to write the markdown documentation to. Defaults to `STDOUT`.
68- #[ arg( long) ]
69- pub output_file : Option < std:: path:: PathBuf > ,
70- }
0 commit comments