redocly-cli
redocly-cli copied to clipboard
Review and improve `respect-core` exports
Is your feature request related to a problem? Please describe.
respect-code exports should be reviewed and improved.
Describe the solution you'd like
- [x] -
handleGenerate, handleRunexport function should be changed.respect-codeshould know accept additional parameters but not directly yargs args. CLI wrapper should handle that logic. - [x] - Need to review types export. Now there is only
export type { JsonLogs } from './types.js';but we should at least export types related tohandleGenerate, handleRuninputs and outputs. - [x] - Review if there is a need to export other helper functions from utils.
- [ ] - Review Respect Monitoring type duplicates in Reunite. https://github.com/Redocly/redocly-cli/issues/2125