Skip to content
dsh.fish
Bundle

dsh-scaffold

项目脚手架:生成 LICENSE / .gitignore / .editorconfig 等常见项目文件

Source
uckkk
License
MIT
Updated
Updated 18 hours ago

Readme

# dsh-scaffold · 项目脚手架

生成 LICENSE / .gitignore / .editorconfig 等常见项目文件。纯 Node 实现。

## 提供的工具

| 工具 | 作用 |
|---|---|
| `generate_license` | 生成 LICENSE(MIT/ISC/Unlicense) |
| `generate_gitignore` | 生成 .gitignore(node/python/go/react/vue/java) |
| `generate_editorconfig` | 生成 .editorconfig |

## 安装

```bash
dsh plugin add dsh-scaffold
```
安装后在 profile 的 `package.json` 的 `dsh.profile.bundles` 中加入 `"dsh-scaffold"`。

## 用法示例

```
给项目加 MIT 许可证
→ 调用 generate_license(type="MIT", author="istone")
```

## 安装

```bash
dsh plugin add github:uckkk/dsh-scaffold
```

> 安装即在本机运行第三方代码,请自行审阅源码。

## 安装

```bash
dsh plugin add github:uckkk/dsh-scaffold
```

## 使用

安装后在会话中调用该插件注册的工具即可。

## 许可

MIT

> 安装即在本机运行第三方代码,请自行审阅源码。

Install

dsh plugin --profile web add github:uckkk/dsh-scaffold#c009d9d5213fc45fca3f326560c939096ccb6542

Profile: web

Source