README.md in zan_tools-0.1.1 vs README.md in zan_tools-0.1.2

- old
+ new

@@ -16,11 +16,20 @@ Or install it yourself as: $ gem install zan_tools ## Usage - -TODO: Write usage instructions here +``` +$ zan_tools -h +Usage zan_tools COMMAND [options] +COMMAND + g/generate: 根据指定模板生成代码 +generate options + -n, --name NAME 表名或者类名 + -f, --fields FIELDS 字段列表,格式:字段1:类型2,字段2:类型2 + -t, --template TEMPLATE 模板文件 + -o, --output FILE 输出到指定文件 +``` ## Development After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.