Closed davidvonthenen closed 4 months ago
This is an example of consuming an external plugin into a CLI. The external plugin code is found here: https://github.com/deepgram-starters/example-starter-plugin/pull/1
This PR needs to be built on top of the previous one because I needed CLI Cobra infrastructure to add plugin commands. Builds on this PR: https://github.com/deepgram-devs/deepgram-cli/pull/8
This looks like a lot of code, but if you want to isolate the plugin differences, you can look at this diff: https://github.com/dvonthenen/deepgram-cli/compare/scaffold-cli-commands...dvonthenen:deepgram-cli:cli-plugins
Small additional changes:
This is an example of consuming an external plugin into a CLI. The external plugin code is found here: https://github.com/deepgram-starters/example-starter-plugin/pull/1
This PR needs to be built on top of the previous one because I needed CLI Cobra infrastructure to add plugin commands. Builds on this PR: https://github.com/deepgram-devs/deepgram-cli/pull/8
This looks like a lot of code, but if you want to isolate the plugin differences, you can look at this diff: https://github.com/dvonthenen/deepgram-cli/compare/scaffold-cli-commands...dvonthenen:deepgram-cli:cli-plugins
Small additional changes: