rojo/src/cli/init.rs
Lucien Greathouse 1b9e90e786
Port from Failure to Snafu (#281)
* Failure -> Snafu for build command

* Port skeletal remains of init to snafu

* failure -> snafu for serve

* failure -> snafu for upload, remove impl_from macro

* failure -> custom error in vfs

* Bye bye, failure

* Fix Rust 1.36 build regression
2019-12-18 15:44:46 -08:00

17 lines
333 B
Rust

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");
}