1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
use structopt::StructOpt;

/// Open Rojo's documentation in your browser.
#[derive(Debug, StructOpt)]
pub struct DocCommand {}

impl DocCommand {
    pub fn run(self) -> anyhow::Result<()> {
        opener::open("https://rojo.space/docs")?;
        Ok(())
    }
}