1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
use snafu::Snafu; use crate::cli::InitCommand; #[derive(Debug, Snafu)] pub struct InitError(Error); #[derive(Debug, Snafu)] enum Error {} pub fn init(options: InitCommand) -> Result<(), InitError> { Ok(init_inner(options)?) } fn init_inner(_options: InitCommand) -> Result<(), Error> { unimplemented!("init command"); }