1.0.25 • Published 4 months ago

app-lib-commond v1.0.25

Weekly downloads
-
License
ISC
Repository
github
Last release
4 months ago

一、背景介绍

  • 日常工作中 常见的命令需要敲很长的字段 才能完成想要的工作
  • 为了简化日常工作 组合命令 直接也最简单的方式进行操作

二、功能描述

  • 自定义命令进行便捷日常操作

三、注意事项

  1. 设置命令支持参数 %arg1%/%arg2%/%arg3%/%arg4%/%arg5%

    分别对应执行命令时 空格进行分割的入参与之对应

四、使用案列

4.1 安装使用

 npm i app -g

4.2 命令配置使用

  1. 查看命令
 app --help
  1. 查看自定义命令
app -ls
  1. 添加更新命令
app add xxx content
  1. 删除命令
app del xxx
  1. 执行命令
app xxx arg1 arg2 

五、todo列表

六、API

testEsTemplate(name) ⇒ string

es template

Kind: global function
Returns: string - 描述
Author: appbir

ParamTypeDescription
namestring名称

七、发布日志