We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c3965 commit 8d8249fCopy full SHA for 8d8249f
rust/xtask/src/main.rs
@@ -15,6 +15,7 @@ mod readme;
15
#[derive(clap::Parser)]
16
#[allow(clippy::enum_variant_names)]
17
enum XtaskCommand {
18
+ GenAll,
19
GenMan,
20
GenComp,
21
GenOpenapi,
@@ -49,6 +50,14 @@ enum TaskError {
49
50
#[snafu::report]
51
fn main() -> Result<(), TaskError> {
52
match XtaskCommand::parse() {
53
+ XtaskCommand::GenAll => {
54
+ // IMPORTANT (@NickLarsenNZ): ensure all commands defined below are also in here.
55
+ man::generate()?;
56
+ completions::generate()?;
57
+ openapi::generate()?;
58
+ readme::generate()?;
59
+ docs::generate()?;
60
+ }
61
XtaskCommand::GenMan => man::generate()?,
62
XtaskCommand::GenComp => completions::generate()?,
63
XtaskCommand::GenOpenapi => openapi::generate()?,
0 commit comments