hugh 的个人博客

vuePress-theme-reco hugh 的个人博客    2021
hugh 的个人博客

Choose mode

  • dark
  • auto
  • light
Home
分类
  • 前端
  • fe-robot
  • 前端监控
标签
专题
  • femonitor
  • jsby
  • fe-robot
TimeLine
工具
全版

hugh 的个人博客

154

Article

324

Tag

Home
分类
  • 前端
  • fe-robot
  • 前端监控
标签
专题
  • femonitor
  • jsby
  • fe-robot
TimeLine
工具
全版
  • 基础

    • 扩展和子命令插件机制-fe-robot
      • 参数
      • 参数
    • 映射型插件机制-fe-robot
    • 插件编写-fe-robot
      • 可选
    • 插件收集整理_-fe-robot
    • 插件管理-fe-robot
    • 插件本地测试-fe-robot
      • 可选
  • 插件使用

  • 模板型(TODO)

  • 工具型(TODO)

映射型插件机制_-_fe-robot

vuePress-theme-reco hugh 的个人博客    2021

映射型插件机制-fe-robot


hugh 的个人博客 2020-04-02 16:55:43 前端fe-robotmapplugin

# 功能描述

映射型插件, 主要用于解决各类cli维护的问题, 使用fe-robot安装一个现有的cli,可以实现命令行的关联映射调用

# install

fe-robot install pluginName
1

pluginName 可以是任意一个npm包, 安装时将检测是否有bin入口

# uninstall

fe-robot uninstall pluginName
1

pluginName 是当前已经安装的插件包

# 范例

// 安装
fe-robot install http-server
// 调用
fe-robot http-server -h
fe-robot http-server . -p 8080
// 卸载
fe-robot uninstall http-server
1
2
3
4
5
6
7