swagger-codegen-ts icon indicating copy to clipboard operation
swagger-codegen-ts copied to clipboard

feat: adding a simple CLI

Open kokovtsev opened this issue 2 years ago • 6 comments

Resolves #172

kokovtsev avatar May 03 '23 09:05 kokovtsev

LGTM. Let's update dox a bit and then proceed with merging.

Nedgeva avatar May 08 '23 12:05 Nedgeva

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[bot] avatar May 12 '23 09:05 reviewpad[bot]

/reviewpad summarize

andr3medeiros avatar May 12 '23 09:05 andr3medeiros

AI-Generated Summary: This pull request includes 3 patches:

  1. 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, and yarn.lock to accommodate the changes.
  2. Removes Travis CI related files and mentions from the repository. This includes deleting .travis.yml and updating the README.md file.
  3. Adds publishing scripts to automate the process of publishing through GitHub Actions. It also updates the documentation to include a guide for manual publishing.

reviewpad[bot] avatar May 12 '23 09:05 reviewpad[bot]

AI-Generated Summary: This pull request includes several changes:

  1. Removed .travis.yml file and updated .npmignore.

  2. Updated and enhanced README.md with instructions on CLI usage.

  3. Updated the documentation in /docs/development/overview.md and modified the publish process.

  4. Added new dependencies and updated the package.json file.

  5. Added a new file src/cli/index.ts for detecting codecs and processing options.

  6. Updated tsconfig.build.json to include the new src/cli/index.ts file.

  7. 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.

reviewpad[bot] avatar May 16 '23 09:05 reviewpad[bot]

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.

reviewpad[bot] avatar May 16 '23 09:05 reviewpad[bot]