Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: created custom help message (#126)
* feat: adding context commands in help message * feat: initial approach * feat: context service created * feat: connected list and current * feat: update the context commands * fix: issue with the file imports This is was causing the test cases to fail. * refactor: contextPath * chore: changed the old format * feat: added required functions in useContextFile * feat: command and subcommand router * feat: auto detect specific spec file in the working directory * feat: created all the component for context. * feat: moved logic to service class and connected the commands to the router * feat: added custom error message for keynotfound error * feat: created context removing logic * feat: auto setting current when adding context for the first tme. * feat: updated router logic * chore: renamed filename from context to Context * chore: cleaned all duplicate code * feat: updated command specification * feat: removed dummy spec paths * feat: added logic to fetch context from flag * feat: updated validate component to work with saved context * feat: updated the test cases for validate component * fix: fixed the bug with deleting context that was set as current context. * fix: fixed the e.location bug * fix: parser error logs. * fix: update help command text * feat: updated documentation and CLI help message * feat: fixing the doc * feat: add context now checks if the path exists. * feat: updated the suggested changes * docs: added info about required --context flag for validation * feat: created return type for useContextFile hook * fix: fixing issue with overwriting global asyncapi file * feat: created custom help message * fix: lint fixes * fix: fixed imports * chore: updating the helpClass config in package.json * fix: start command was not showing in the root help * chore: cleaning up the imports * fix: lint fixes * test: trying to fix issue with pr checks * chore: removing sonar exclusions to see all the sonar warnings * fix: changing filename as suggested by sonarcloud * chore: ignoring certain function from sonar cloud scan * chore: fixing lint errors * chore: ignoring sonarjs warning about large functions
- Loading branch information