logo
0
0
WeChat Login
"refactor: replace async and underscore with commander and glob for improved CLI handling"

file-merge

This package merges contents of specified files into one file. Can traverse directory tree. Useful for things like combining .css files, etc.

Installation

npm install -g file-merge --registry=https://npm.cnb.cool/loviselu/publish-registry/-/packages/

Command line

file-merge [-i include-globs][-e exclude-globs][-r root] -o output

Globs for included and excluded files can be comma separated, i.e.

file-merge -i **/*.css,extras/*.css -e **/obsolete.css -o bundle.css

About

可以用于 合并 代码成为 markdown 然后 送入知识库

Language
JavaScript66.2%
Markdown29.2%
gitignore3.1%
Dockerfile1.5%