ke-fe-cli v0.1.52
特性:
- 一键启动项目
- 一键打开 vscode
- 内置两套前端框架webpack5+hobber、 umi+hobber
- 字符串md5加密、打开常用站点
安装
$ npm install ke-fe-cli -g --registry=https://registry.npmjs.org/
使用前配置:
打开 VSCode –> command+shift+p –> 输入 shell command –> 点击提示 Shell Command: Install ‘code’ command in PATH –> 运行
终端输入指令:
sudo ln -fs "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" "/usr/local/bin/"
打开终端,随便进入一个路径后,执行:
code .
vscode 正常打开,则说明配置生效
常用指令介绍
ks 是 ke-fe-cli 指定命令,源于高中死党昵称:马克思,简称:ks
Options:
-V, --version output the version number -h, --help output usage information
Commands:
- set options According to the path you provide, generate your private project configuration file under the current path(根据你提供的路径,生成当前路径下你私有的项目配置文件)
- -c param Clear the history of the search directory(清空检索目录的历史记录)
- -d param Set your default boot path based on the name you entered(设置默认启动哪个目录下项目集合)
- -e param Set whether the configuration file level directory is related(设置配置文件层级目录之间是否关联)
- -i param According to the parameters, get the corresponding information(根据参数,获取对应信息)
- -r param Configure rules according to parameters(根据参数,进行规则配置)
- -s param Whether to generate a script file for the startup command(是否生成启动命令的脚本文件)
- run options Open vscode while starting the project of your choice(启动你选择的项目的同时打开vscode)
- frame options According to the name of the project you entered, select the corresponding frame type to generate the project(根据你输入的项目名name,选择对应的框架类型,生成项目)
- util options cli tool commands(cli集成的工具类命令)
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago