Code Monkey home page Code Monkey logo

cm-commit's Introduction

CM-COMMIT

用Nodejs实现的TAPD源码关联的git提交工具。

安装


npm i -g cm-commit

如果npm全局包安装位置需要权限的话 --unsafe-perm

sudo npm i -g cm-commit --unsafe-perm

使用


cmc [option]

首次次执行cmc命令,需要添加TAPD的账号密码,可以通过cmc -u进行修改。

后续执行cmc | cmc -m [msg]命令,会进行登录并从TAPD拉到登录用户的待办,选择后则会直接获取到该待办的关键字并进行一次git commit

Option参数

  • -v, --version 查看版本号
  • -u, --user 修改账号密码
  • -l, --last [msg] 获取上一次源码关联的commit,[msg]为自定义提交信息
  • -m, --commit [msg] 需要自定义提交信息时使用
  • -h, --help display help for command

注意事项

  1. 使用 cmc 拉取的待办事项中类型为 Task 的任务,在提交源码关联关键字的时候取的是其对应 Story 的源码关键字。

cm-commit's People

Stargazers

Ben avatar

Watchers

James Cloos avatar rainykane 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.