Closed rufuspollock closed 7 years ago
FIXED. This research is basically done.
Decision on whether to reuse parts of this and if so how
Lots to reuse from heroku approach (with some tweaking): the go - node intregration is nicely done (and working!) and it looks reasonably straightforward to convert over to cobra and our setup
Description of the heroku cli structure esp how go code uses the node plugins
- What CLI library it uses (if any) and how we could migrate this to cobra (if that is what we are using)
Description above is updated with my detailed analysis of the heroku CLI structure and how this could work.
Research how the heroku CLI works, in particular its combination of a go base with nodejs based plugins -- with most of the core functionality in the plugins.
https://github.com/heroku/cli https://devcenter.heroku.com/articles/developing-cli-plugins
Acceptance criteria
Tasks
Results
Notes
They have pretty minimal testing https://circleci.com/gh/heroku/cli/1916
cli_suite_test.go command_test.go debug_test.go flag_test.go help_test.go main_test.go update_test.go version_test.go