UNPKG

swagger2ts-gen-cli

Version:

swagger2ts-gen-cli 是一个根据后端服务的 swagger-api 生成客户端代码的 Cli 工具。

2 lines (1 loc) 294 B
import{Command as r}from"commander";import o from"chalk";import{g as m}from"./index-36c027b0.js";import"ora";import"axios";import"js-yaml";import"fs-extra";import"path";import"rimraf";import"adm-zip";const i=new r;i.version(o.green.bold("swagger2ts-gen-cli@2.0.9")),m(i),i.parse(process.argv);