leancloud / lean-cli

LeanEngine Command Line Tool

Home Page:https://docs.leancloud.cn/sdk/engine/cli/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lean(1)

Build Status GoDoc

Command-line tool to develop and manage LeanCloud and TapTap Developer Services apps.

Install

lean-cli will send statistics information such as your os version and lean-cli version to Google Analytics. This statistics information helps us to improve LeanEngine services. To opt out, you can set the environment variable NO_ANALYTICS to true.

Develop

Install the toolchains:

You can install them via homebrew

Clone this repo then run make all to build releases.

Please run go mod tidy and go mod vendor to make vendored copy of dependencies after importing new dependencies.

Ensure all codes is formatted by gofmt. Commit message should write in gitmoji.

Command-line interface design following docopt.

Release

Tag the current commit with version name, and create a release with this tag. run $ make all and attach the build result (under ./_build folder) to the release.

The homebrew guys will update the home brew formula. If not, or we are in a hurry, just make a pull request to them.

Releases will fetch from GitHub automatically. If not, or we are in a hurry, just execute cloud function updateRepo with argument {"repo": "leancloud/lean-cli"} to update.

About

LeanEngine Command Line Tool

https://docs.leancloud.cn/sdk/engine/cli/

License:Apache License 2.0


Languages

Language:Go 85.8%Language:JavaScript 7.2%Language:HTML 4.6%Language:Makefile 2.1%Language:Shell 0.3%