0.1.52 • Published 7 months ago

ke-fe-cli v0.1.52

Weekly downloads
134
License
ISC
Repository
-
Last release
7 months ago

特性:

  1. 一键启动项目
  2. 一键打开 vscode
  3. 内置两套前端框架webpack5+hobber、 umi+hobber
  4. 字符串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)
    • -s param Only Start the project of your choice(只启动你选择的项目)
    • -v param Open only the vscode of the project you selected(只打开你选择的项目的vscode)
  • frame options According to the name of the project you entered, select the corresponding frame type to generate the project(根据你输入的项目名name,选择对应的框架类型,生成项目)
    • -a param Transform the content of the file and generate the api file requested by the business interface(对文件内容进行转化,并生成业务接口请求的api文件)
    • -t param Obtain the corresponding file template according to the file type you input(根据你输入的文件类型,获取对应的文件模板)
  • util options cli tool commands(cli集成的工具类命令)
    • -m param Md5 encryption of the input string(对输入的字符串进行md5加密)
    • -w param According to the site name you entered, open the corresponding site(根据你输入的站点名称,获取对应的站点地址)
0.1.52

7 months ago

0.1.50

7 months ago

0.1.51

7 months ago

0.1.49

7 months ago

0.1.46

8 months ago

0.1.47

8 months ago

0.1.48

7 months ago

0.1.41

9 months ago

0.1.42

9 months ago

0.1.43

9 months ago

0.1.44

9 months ago

0.1.45

9 months ago

0.1.40

9 months ago

0.1.38

10 months ago

0.1.39

9 months ago

0.1.30

10 months ago

0.1.31

10 months ago

0.1.32

10 months ago

0.1.33

10 months ago

0.1.34

10 months ago

0.1.35

10 months ago

0.1.36

10 months ago

0.1.37

10 months ago

0.1.27

10 months ago

0.1.28

10 months ago

0.1.29

10 months ago

0.1.26

10 months ago

0.1.25

1 year ago

0.1.24

2 years ago

0.1.20

3 years ago

0.1.21

3 years ago

0.1.22

3 years ago

0.1.23

3 years ago

0.1.18

3 years ago

0.1.19

3 years ago

0.1.17

3 years ago

0.1.14

3 years ago

0.1.15

3 years ago

0.1.16

3 years ago

0.1.13

3 years ago

0.1.12

3 years ago

0.1.11

3 years ago

0.1.10

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.0

3 years ago

0.0.60

3 years ago

0.0.59

3 years ago

0.0.57

3 years ago

0.0.56

3 years ago

0.0.55

3 years ago

0.0.54

3 years ago

0.0.53

3 years ago

0.0.51

3 years ago

0.0.52

3 years ago

0.0.50

3 years ago

0.0.49

3 years ago

0.0.47

3 years ago

0.0.48

3 years ago

0.0.46

3 years ago

0.0.44

3 years ago

0.0.43

3 years ago

0.0.41

3 years ago

0.0.40

3 years ago

0.0.38

3 years ago

0.0.39

3 years ago

0.0.37

3 years ago

0.0.36

3 years ago

0.0.32

3 years ago

0.0.33

3 years ago

0.0.34

3 years ago

0.0.35

3 years ago

0.0.31

3 years ago

0.0.21

3 years ago

0.0.22

3 years ago

0.0.23

3 years ago

0.0.24

3 years ago

0.0.25

3 years ago

0.0.30

3 years ago

0.0.26

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.0.29

3 years ago

0.0.20

3 years ago

0.0.18

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.13

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago