epm 0.1.8

The Elvis Package Manager
1
2
3
4
5
6
7
8
9
10
11
12
//! Init command
use std::env;
use super::new;
use crate::template::APP_TEMPLATE;

/// Init Elvis APP
pub fn run() {
    match env::current_dir() {
        Ok(p) => new::run(p, APP_TEMPLATE),
        Err(e) => error!("Exec epm init failed: {:?}", e),
    }
}