Files
rojo/src/commands/init.rs
Lucien Greathouse 1f7f2b22e7 Rewrite Project, remove SourceProject (#274)
* Rewrite project file to have relative paths and drop SourceProject

* Redo project error types

* Tidy up and document Project type

* Strip out init command
2019-12-12 14:45:15 -08:00

18 lines
383 B
Rust

use failure::Fail;
use crate::{cli::InitCommand, project::ProjectError};
#[derive(Debug, Fail)]
pub enum InitError {
#[fail(display = "Project init error: {}", _0)]
ProjectError(#[fail(cause)] ProjectError),
}
impl_from!(InitError {
ProjectError => ProjectError,
});
pub fn init(_options: InitCommand) -> Result<(), InitError> {
unimplemented!("init command");
}