Skip to main content

oseda_cli/cmd/
fork.rs

1use std::error::Error;
2
3pub fn fork() -> Result<(), Box<dyn Error>> {
4    let fork_url = "https://github.com/oseda-dev/oseda-lib/fork".to_owned();
5
6    open::that(fork_url.clone()).map_err(|_| {
7        format!("Please visit {fork_url} in a browser and fork the oseda-lib repository")
8    })?;
9
10    Ok(())
11}