apps-create 0.0.5

apps开发脚手架,用于快速初始化项目
use cli::{
    create_app,
    Commands
};

use command::{
    create,
    list
};

mod cli;
mod command;
mod common;
mod utils;


fn main() {
    let app = create_app();

    match app.command {
        Some(Commands::Create { name, template }) => {
            create(name, template)
        }
        Some(Commands::List) => {
            list();
        }
        None => {
            println!("请使用 --help 查看使用说明");
        }
    }
}