swagger-codegen-ts
swagger-codegen-ts copied to clipboard
feat: adding a simple CLI
Resolves #172
LGTM. Let's update dox a bit and then proceed with merging.
Reviewpad Report
:bangbang: Errors
- Unconventional commit detected: 'Merge remote-tracking branch 'origin/master' into feature/cli' (f67dd5207dc1e36f606d1b8658fa700f15fe686c)
:warning: Warnings
- Please rebase your pull request on the latest changes
/reviewpad summarize
AI-Generated Summary: This pull request includes 3 patches:
- Adds a simple CLI to the project, which takes input for base directory, output directory, and a list of OpenAPI or YAML specifications. It also modifies
package.json,tsconfig.build.json, andyarn.lockto accommodate the changes. - Removes Travis CI related files and mentions from the repository. This includes deleting
.travis.ymland updating theREADME.mdfile. - Adds publishing scripts to automate the process of publishing through GitHub Actions. It also updates the documentation to include a guide for manual publishing.
AI-Generated Summary: This pull request includes several changes:
-
Removed
.travis.ymlfile and updated.npmignore. -
Updated and enhanced
README.mdwith instructions on CLI usage. -
Updated the documentation in
/docs/development/overview.mdand modified the publish process. -
Added new dependencies and updated the
package.jsonfile. -
Added a new file
src/cli/index.tsfor detecting codecs and processing options. -
Updated
tsconfig.build.jsonto include the newsrc/cli/index.tsfile. -
Added new dependencies and updated versions in
yarn.lock.
Overall, this PR focuses on improving the usability of the package by adding CLI usage instructions and updating the build configuration.
AI-Generated Summary: This pull request includes changes related to updating the code generation tool and its documentation. It removes the Travis CI configuration, updates the README, adds a new CLI support, and makes several minor adjustments in package.json, tsconfig.json, and other files. The changes result in better CLI usage and the addition of the swagger-codegen-ts binary in package.json.