Skip to content

Tags: ijc/docker-cli

Tags

plugins.wip20190129

Toggle plugins.wip20190129's commit message
Ensure plugins default search path obeys `--config`

A static global initialiser happens before the arguments are parsed, so we need
to calculate the path later.

Signed-off-by: Ian Campbell <ijc@docker.com>

plugins.wip20190115

Toggle plugins.wip20190115's commit message
Refactor code which deals with Windows' `.exe` suffix

Signed-off-by: Ian Campbell <ijc@docker.com>

plugins.wip20181218

Toggle plugins.wip20181218's commit message
Allow plugins to make use of the cobra `PersistentPreRun` hooks.

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>

plugins.wip20181213

Toggle plugins.wip20181213's commit message
Integrate CLI plugins with `docker help «foo»`

Signed-off-by: Ian Campbell <ijc@docker.com>

plugins.wip20181213-3

Toggle plugins.wip20181213-3's commit message
Integrate CLI plugins with `docker help «foo»`

Signed-off-by: Ian Campbell <ijc@docker.com>

plugins.wip20181213-2

Toggle plugins.wip20181213-2's commit message
Integrate CLI plugins with `docker help «foo»`

Signed-off-by: Ian Campbell <ijc@docker.com>