# g-table-cli **Repository Path**: lsl1949/g-table-cli ## Basic Information - **Project Name**: g-table-cli - **Description**: 简单生成table模版工具 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-01 - **Last Updated**: 2022-03-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 用法 1、安装hf-table工具 ```shell npm install g-table ``` 2、在需要生成的目录文件夹配置一个文件table-cfg.js, 内容如下 ``` module.exports = [ { prop: 'orgName', label: '学校', }, { prop: 'className', label: '班级', } ] ``` 3、在当前目录下执行g-table命令,则会生成一个表格模版 ```shell g-table ```