mirror of https://github.com/docker/cli.git
e5e578abc7
Previously a plugin which used these hooks would overwrite the top-level plugin command's use of this hook, resulting in the dockerCli object not being fully initialised. Provide a function which plugins can use to chain to the required behaviour. This required some fairly ugly arrangements to preserve state (which was previously in-scope in `newPluginCOmmand`) to be used by the new function. Signed-off-by: Ian Campbell <ijc@docker.com> |
||
---|---|---|
.. | ||
docker-badmeta-err.golden | ||
docker-help-badmeta-err.golden | ||
docker-help-helloworld-goodbye.golden | ||
docker-help-helloworld.golden | ||
docker-help-nonexistent-err.golden | ||
docker-nonexistent-err.golden |