d4rkstar opened a new pull request, #7: URL: https://github.com/apache/openserverless-cli/pull/7
Hello, this PR resolves the issue https://github.com/apache/openserverless/issues/44. In detail the modifications: - added a Tool struct to add Name and an HasDoc flag (used to check which tool has markdown doc) - added markDownHelp as embed.FS to load all markdown files from the tools folder - added a GetMarkDown helper method to load Markdown from embed.FS starting from tool name - added a MarkdownHelp method that will extract the Usage from markdown, using the tool name - added a MergeToolsList helper method to handle the merge between main tools and tools - added tests for new methods inside tools_test.go - fixed Example_markdown2text anf Example_extractUsage tests after modifications to base64usage inside render_test.go - modified base64 and datefmt to use new function to show the help - modified bats test I expect a code review before merge -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@openserverless.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org