Giter Site home page Giter Site logo

thenext's Introduction

TheNext

取名来自奥特曼奈克萨斯,不要问为什么,就是特摄迷。

主要就是想用kotlin写一个命令行工具,然后可以一键生成一些简单的模板工程,之后把模板压缩进二进制产物中去,然后可以持续化的辅助开发进行迭代。

技术栈选型原因,python写的太拉胯了,而且pip导包其实不太适合开发,而且py2 py3 之间差异较大。另外kotlin作为最经常开发的语言没有什么技术栈障碍,同时大部分机器都是有java环境的,所有构建产物都压缩成一个二进制,方便集成。

方案

kotlin + gradle application plugin 之后通过gradle assembleDist 任务生成对应的二进制压缩包。

然后只需要对这个压缩包按照倒bin目录下即可生成对应的脚本。

而测试阶段则使用unittest进行,可以快速的验证代码是否有效,而且可以很方便的进行参数定义和调试。

命令行支持

  1. help 你懂得
impact --help 

1.创建一个模块

impact module  -file xxx -name xxx -group xxxx
  1. 创建一个工程
impact project  -file xxx -name xxx 

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.