New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

initwe

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

initwe

initialize whatever

latest
Source
npmnpm
Version
0.5.0
Version published
Maintainers
1
Created
Source

initwe

init whatever

命令参数

如果传递了任何命令参数,则会忽略当前目录下的init.yml

支持的命令参数:

  • (无名称) 模板项目的git地址、zip文件URL、本地路径,三种形式任选一种
  • [--src] 指定模板项目里的某个文件夹作为源
  • [--dest=./] 初始化的目标路径
  • [--overwrite] 是否覆盖已存在的文件,默认不覆盖
  • [--report] 是否生成报告文件,默认不生成
  • [--filter=xxx] 过滤器,使用命令行时只支持传模板项目里定义好的过滤器选项名称

过滤器

过滤规则使用了micromatch

排除文件:在过滤规则前面加减号-,则匹配该条规则的文件或文件夹将被排除。

保留文件:指定需要保留的文件。

保留规则优先级高于排除规则,即如果一个文件同时匹配排除规则和保留规则,那么该文件会被保留下来。

Keywords

initwe

FAQs

Package last updated on 06 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts