https://github.com/zhuima/ts-cli
https://github.com/zhuima/ts-cli
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhuima/ts-cli
- Owner: zhuima
- Created: 2022-07-13T11:26:51.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-16T02:21:29.000Z (almost 4 years ago)
- Last Synced: 2025-05-31T06:17:23.413Z (about 1 year ago)
- Language: TypeScript
- Size: 118 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ts cli demo
----------
# Usage
```typescript
$ git clone https://github.com/zhuima/ts-cli
$ cd ts-cli
$ yarn
$ yarn link
$ my-cli
```
# Demo
```typescript
❯ my-cli
_ _
_ __ ___ _ _ ___ | | (_)
| '_ ` _ \ | | | | _____ / __| | | | |
| | | | | | | |_| | |_____| | (__ | | | |
|_| |_| |_| \__, | \___| |_| |_|
|___/
Usage: my-cli [commands] [options]
My CLI
Options:
-V, --version output the version number
-h, --help 输出所有命令
Commands:
init Initialize a new project
lh Analyze the performance of a website
logo logo
help [command] display help for command
Example call:
$ my-cli init -h
$ my-cli lh -h
Author:
zhuima
```
# FAQ
写作过程中各种报错,网上的各种guide文档对新手不友好,尽管这些文档开头都号称step by step, 最后的解决方案是查看对应三方库的github issue, 去翻别人是否提过对应的问题,得以解决