Skip to content

Commit 6ebafa8

Browse files
committed
add metadata support
1 parent e88c7b2 commit 6ebafa8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/cargo.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub enum Subcommand {
1717
Bench,
1818
Deb,
1919
Clippy,
20+
Metadata,
2021
}
2122

2223
impl Subcommand {
@@ -47,6 +48,7 @@ impl<'a> From<&'a str> for Subcommand {
4748
"bench" => Subcommand::Bench,
4849
"deb" => Subcommand::Deb,
4950
"clippy" => Subcommand::Clippy,
51+
"metadata" => Subcommand::Metadata,
5052
_ => Subcommand::Other,
5153
}
5254
}

0 commit comments

Comments
 (0)