Skip to main content

oseda_cli/cmd/
fork.rs

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