ent show: show dependencies, if any
This commit is contained in:
parent
343e43a762
commit
271444b97b
1 changed files with 4 additions and 1 deletions
|
|
@ -73,7 +73,10 @@ fn handle_command(args: &Args, issues_dir: &std::path::Path) -> anyhow::Result<(
|
||||||
match issues.issues.get(issue_id) {
|
match issues.issues.get(issue_id) {
|
||||||
Some(issue) => {
|
Some(issue) => {
|
||||||
println!("issue {}", issue_id);
|
println!("issue {}", issue_id);
|
||||||
println!("state {:?}", issue.state);
|
println!("state: {:?}", issue.state);
|
||||||
|
if let Some(dependencies) = &issue.dependencies {
|
||||||
|
println!("dependencies: {:?}", dependencies);
|
||||||
|
}
|
||||||
println!("");
|
println!("");
|
||||||
println!("{}", issue.description);
|
println!("{}", issue.description);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue