手写cli脚手架文档,写自己的脚手架,30分钟入门教程~const program require( commander )i
program version(0.0.1)
parse( process.argv);// process.argv就是用户在命令行中传入的参数
执行zhu-c1i-help是不是已经有一提示了!(珠峰架构)
这个版本号应该使用的是当前c项目的版本号,我们需要动态获取,并且为了方便我们将常量全部放到
ut下的 constants文件夹中(珠峰架构)
const i n
使用INI配置文件,简单便捷。
该辅助工具类为C#操作INI文件的辅助类,源码在某位师傅的基础上完善的来,因为忘记最初的来源了,因此不能提及引用,在此深感遗憾,并对贡献者表示感谢。
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace Eyuan.Common
{
p