tcoffe-cli
TypeScript icon, indicating that this package has built-in type declarations

1.1.31 • Public • Published

tcoffe-cli

The command line interface for smpoo wich is base on pnpm workspace

编译打包

编译打包输出目录统一为 dist

MonoRepo 文件夹结构

:::mermaid graph LR; A[工程根目录: RepoRoot] --> B[项目区: space]; B --> C1[项目组1: RepoGroup]; C1 --> D11[项目1-1: Repo]; C1 --> D12[项目1-2: Repo]; B --> C2[项目组2: RepoGroup]; C2 --> D21[项目2-1: Repo]; C2 --> D22[项目2-2: Repo]; :::

命名规则

  • 类:FooMgr,基于 Foo 的管理类

  • 函数:tFoo,相对于 Foo 的工具函数入口

类结构

classDiagram
IRepo <|-- Repo : extends
IRepo : #isRoot boolean 判断本仓库是否属于 Mono 中的顶级根
IRepo : #pathMgr string 本仓库的地址管理器
IRepo : getMenu() string 调用基于本仓库基地址的CLI菜单
<<Interface>> IRepo
class Repo {
	IPath #pathMgr: 本仓库的地址管理器
	string basePath: 本仓库基地址
	getMenu():	调用基于本仓库基地址的CLI菜单
}

Readme

Keywords

none

Package Sidebar

Install

npm i tcoffe-cli

Weekly Downloads

0

Version

1.1.31

License

MPL

Unpacked Size

559 kB

Total Files

10

Last publish

Collaborators

  • fanzouguo