Giter Club home page Giter Club logo

tp-gen's Introduction

简介

TP-GEN 是一个生成TP框架下的 CURD 的工具,可以在项目目录下生成对应的 controller, models, service

使用方式

.\curd.exe -t versions -g aduli -m api

  • -g 生成控制方法
    • a 生成控制器创建操作
    • d 生成控制器删除操作
    • u 生成控制器更新操作
    • l 生成控制器生成列表操作
    • i 生成控制器获取详情操作
  • -m 指定生成文件在哪个 module 下面(不指定使用配置文件中 module 配置)

配置说明

path: 项目路径,不配置则默认为当前目录
application_name: app目录名称
module: 默认生成在哪个模块下

tp-gen's People

Contributors

yunxi177 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.