mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Shuffle around Rojo's public API
This commit is contained in:
parent
ce338a2a72
commit
16c9a23d55
11 changed files with 24 additions and 29 deletions
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");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue