us-public-cli

提供脚手架以及其他工具

Usage no npm install needed!

<script type="module">
  import usPublicCli from 'https://cdn.skypack.dev/us-public-cli';
</script>

README

public-cli

不同项目类型的脚手架

项目背景

随着 Inside 项目的开启,我们在相同的项目框架和类业务组件上,已经有 6 个项目在同时维护,目前维护团队仅有3个人。加上之前的老项目,维护项目成本逐日增加。为了提高开发和维护的效率问题。需要提供一个 命令行操作工具,如果有机会,之后再升级成为一个治理平台工具体系。

cli 使用说明

npm install -g @uskid/public-cli
public-cli -h
Options:
  -V, --version   output the version number
  new            Creates a new application.
  n              Creates a new application.
  publish        Publish the current project.
  p              Publish the current project.
  -h, --help     output usage information

初始化项目

public-cli new demo

发布项目

cd demo
public-cli publish