forked from rojo-rbx/rojo
Shuffle around Rojo's public API
This commit is contained in:
17
src/cli/init.rs
Normal file
17
src/cli/init.rs
Normal file
@@ -0,0 +1,17 @@
|
||||
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");
|
||||
}
|
||||
Reference in New Issue
Block a user