New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aplus-frontend/api-generate-cli

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aplus-frontend/api-generate-cli

aplus api generate cli for aplus-frontend team.

  • 1.0.4
  • npm
  • Socket score

Version published
Weekly downloads
6
decreased by-33.33%
Maintainers
0
Weekly downloads
 
Created
Source

Aplus API Generate Cli

NPM Version NPM Downloads NPM License

命令行使用教程

aplus接口生成命令行工具

安装

npm install @aplus-frontend/api-generate-cli -g

安装是否成功运行agc -v,看到帮助信息代表成功

使用

命令行终端进入到项目src目录,然后可以选择如下两种方式agc createagc generate

  1. 命令行交互界面创建

运行如下命令,vscode打开项目,根据提示一步步来


 #bash 运行

agc create

 #或简写

agc cre

  1. 命令行指定OPEN Api 3.0json文件

 #bash 运行

agc generate --file open.json  --target demo   --service wms

 #或简写

agc gen -f open.json  -t demo   -s wms

特殊说明:以上2中方式,二选一即可,一般来说,第一种create方式需要配合apiFox本地导出服务。第二种需要在api同级别src目录下临时创建open.json文件放入符合OPENAPI3.0格式的json文件。

帮助


#查看帮助

agc -h

#或

agc --help

Keywords

FAQs

Package last updated on 13 Jan 2025

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc