uymas_cli 2.2.1

the fast and minimal dependency development tool for rust language
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::args::Args;

/// 可注册命令
pub trait Action {
    /// 初始化化
    fn init(&self) {}

    /// 执行方法入口
    fn run(&self, arg: &Args);
}