feat: adding a simple CLI#173
Conversation
|
LGTM. Let's update dox a bit and then proceed with merging. |
|
Reviewpad Report
|
|
/reviewpad summarize |
|
AI-Generated Summary: This pull request includes 3 patches:
|
| .usage('swagger-codegen-ts -o <output_path> [flags] <path/to/spec.yaml>...') | ||
| .option('baseDir', { | ||
| alias: 'b', | ||
| describe: 'base directory for <specs> and <outDir> paths', |
There was a problem hiding this comment.
Is it really "outDir" or "baseDir", maybe a typo
There was a problem hiding this comment.
It's correct if I understand you correctly
outDir is relative to baseDir
There was a problem hiding this comment.
After thinking a bit more on this, probably making outDir relative to the baseDir does not make much sense.
In the new commit this will be like this:
outDiris relative to the cwd (unless an absolute path is given);- each
specis relative tobaseDirif it is provided, otherwise relative to the cwd
|
AI-Generated Summary: This pull request includes several changes:
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 |
Resolves #172