@imwebme/oms-gen
v1.0.1
Published
oms에서 사용하는 code generator
Downloads
2
Keywords
Readme
oms-gen
vscode의 template generator를 cli로 만들고 template를 공용관리할 수 있는 도구
getting started
코드를 만들고자하는 폴더에서
root@imweb:~/oms-admin/src/entities# npx @imwebme/oms-gen
$ plop
? [PLOP] Please choose a generator. react-query (get) - Create a new API function
? What is your API function name
💬 test-gen
? What is your API endpoint? (ex: https://api.oms.imstage.me/admin/v1/order/{orderCode})
💬 https://api.oms.imstage.me/admin/v1/order/{orderCode}
✔ ++ /test-gen/index.ts
✔ ++ /test-gen/test-gen.api.ts
✔ ++ /test-gen/test-gen.dto.ts
✔ ++ /test-gen/test-gen.query.ts
✔ ++ /test-gen/test-gen.type.ts
Done in 11.10s.