Git Product home page Git Product logo

der-cli's Introduction

der

star
GPL

⚡𝓓𝓮𝓻 - A scaffolding tool for FE

What is 𝓓𝓮𝓻?

  • A scaffolding tool to improve development efficiency for the front end, build with Node.js.
  • 一个提升前端开发效率的脚手架工具。

𝓓𝓮𝓻's Feature

der

  • 😎 专一性: 专注于前端模板自动化发布功能;
  • ⚡ 高性能: 基于 Node.js 多进程执行任务, 并配合本地缓存;
  • 🔨 扩展性: 基于 Class 式编程,功能扩展更便捷;
  • 🔥 规范化: 使用 Lerna 工具架构仓库, 优化工作流程;
  • 🔰 安全性: 所有私人信息以本地缓存保存.

𝓓𝓮𝓻 can do

  • Create a new project
  • Auto commit & create a remote repo(github/gitee)
  • Version control
  • Specification submission code
  • then...

Quick Start

本地安装

$ npm install @der-cli/core -g

初始化项目

$ mikdir mytest
$ cd mytest

$ der init test-demo
# 根据步骤创建

提交 & 初始化 Github/Gitee

该命令会在本地初始化 .git , 且提交代码至远程仓库。

注意:der go 会将代码提交至项目同名远程仓库中(package.json的name属性值),若远程仓库不存在,则会自动创建,这需要你提前准备好你的远程仓库 APP Token, 详见 docs: APP TOKEN

$ der go

发布 tag

该命令会删除当前版本开发分支并创建同版本 tag 分支,然后提交至远程仓库

例: dev/1.0.1 => release/1.0.1,详见 docs: Git Flow

$ der go -release
# or 
$ der go -re

More

清空本地缓存

# Default: clean all
$ der clean
$ der clean --all

# or just clean dependencies
$ der clean --dep

DEBUG 模式

$ der --debug
# or
$ der -d

调试本地包

see docs

TODO

  • Add feat:clean command
  • Add feat:support for other languages
  • Add test:BDD tests
  • Add feat:commit standard
  • Add fix:logs
  • Add docs:APP token
  • Add docs:cache
  • Add docs:template monorepo
  • Add docs:der flow
  • Add docs:env
  • Add feat:template for new project
  • Add feat:add page(may)

Documents

详情参考: docs

Q & A

TODO

License

GPL

der-cli's People

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.