add a ProjectInfo struct, currently we don't parse any information into it so it just returns a placeholder
This commit is contained in:
@@ -12,7 +12,7 @@ fn main() {
|
||||
let mut args = env::args();
|
||||
args.next();
|
||||
match args.next().as_ref().map(|arg| arg.as_str()) {
|
||||
Some("info") => println!("{:?}", project),
|
||||
Some("info") => println!("{:?}", project.info()),
|
||||
Some("where") => println!("{}", project.path().display()),
|
||||
Some("run") => {
|
||||
Command::new(args.next().unwrap())
|
||||
|
Reference in New Issue
Block a user