WIP ent new

This commit is contained in:
Sebastian Kuzminsky 2025-07-03 16:52:52 -06:00
parent 2772db19a9
commit 7bd1773856

View file

@ -16,14 +16,12 @@ struct Args {
enum Commands {
/// List issues.
List,
// Mdbook {
// /// The name of the recipe to create MD Book for.
// target: String,
// },
// Info {
// /// The name of the recipe to show info for.
// target: String,
// },
/// Create a new issue.
New {
title: Option<String>,
description: Option<String>,
},
}
fn main() -> anyhow::Result<()> {
@ -38,6 +36,12 @@ fn main() -> anyhow::Result<()> {
println!("{} {} ({:?})", uuid, issue.title, issue.state);
}
}
Commands::New { title, description } => {
println!(
"should make a new issue, title={:?}, description={:?}",
title, description
);
}
}
Ok(())