blob: d58b81b3a4944e16c1f207fa9574854c7352385b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
use anyhow::Context;
pub use crate::cli::Cli;
pub use crate::config::Config;
pub use crate::error::{Error, Result};
pub use crate::projects::{Projects, SearchPath};
mod cli;
mod config;
mod error;
mod projects;
#[tracing::instrument]
pub fn run(config: &Config) -> Result<()> {
Projects::from_provider(config)
.context("Failed to extract paths config")?
.for_each(|path| println!("{}", path.to_string_lossy()));
Ok(())
}
|