feat: Add import-dir command for bulk importing API specifications#172
Conversation
- Introduced a new command `import-dir` to allow users to import multiple API specification files from a specified directory. - Implemented functionality to scan for supported file types (.yaml, .yml, .json, .xml) and handle recursive imports. - Added comprehensive unit tests to ensure the reliability of the import process. - Updated documentation to include usage examples and details about the new command. This feature enhances the CLI's capabilities for managing API specifications efficiently. Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
2b33c13 to
73273e0
Compare
|
@Caesarsage Thank you so much for this PR. It's actually a very good implementation for
|
|
Kindly review @lbroudoux @hash
Thank you for the feedback and for reviewing the PR! @Harsh4902 for the command restructure, I agree it would be more efficient to integrate the import-dir functionality after the import commands are refactored into sub-commands. Please let me know when the migration is complete, and I’ll be happy to rebase and adapt this PR to fit the new structure. |
|
This pull request has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 30 days if no further activity occurs. To unstale this pull request, add a comment with detailed explanation. There can be many reasons why some specific pull request has no activity. The most probable cause is lack of time, not lack of interest. Microcks is a Cloud Native Computing Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this pull request forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
lbroudoux
left a comment
There was a problem hiding this comment.
Thanks for your patience @Caesarsage! This is great work and I'd like to introduce a first version of it in the next 1.0.1 release. I'm going to merge this one in the microcks:1.x branch and then merge it back (and resolve potentiel conflicts in master).
Thanks a lot for this contribution!
import-dirto allow users to import multiple API specification files from a specified directory.This feature enhances the CLI's capabilities for managing API specifications efficiently.
Related issue(s)
Fixes #171
Addresses: #97 (Support for directory import)