Socket
Socket
Sign inDemoInstall

hand-hls

Package Overview
Dependencies
5
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hand-hls

a simple tool to generate svc or bm


Version published
Weekly downloads
5
increased by400%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

hand-hls

Installation:

npm install hand-hls -g

使用:

  • hls new [name]:在当前目录下生成svc,并在对应目录生成bm
  • hls sql [name] 根据当前目录svc名在控制台打印功能脚本

支持的命令:

hls new

hls new [name] -s 仅生成svc

hls new [name] -b 仅生成bm

hls new [name] -b -s or hls new [name] 同时生成svc和bm

默认情况下生成的模板为查询模板,可以通过在name后加*u生成增、删、改模板

name*后加u以外的字符视为q,生成查询模板

hls new [name] +...[field]

name后支持以空格分开的多个字段名,最终生成的bm中bm:field标签,name为输入的字段名,physicalName为输入字段名大写,数据库类型为VARCHAR,java类型为String

hls sql

hls sql [name] 在控制台打印功能脚本

hls serve

在浏览器中打开,新建svc或bm,支持字段名、类型的详细描述

FAQs

Last updated on 11 Sep 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc