vim-docker-tools icon indicating copy to clipboard operation
vim-docker-tools copied to clipboard

Add utility function to execute docker commands and retrieve the stdout without changing the UI

Open jakecode opened this issue 6 years ago • 0 comments

For some functionality it would be useful to be able to execute non-volatile docker functions with the output being redirect to somewhere that is not the UI, such as a hidden buffer.

Currently any commands ran using container_exec or container_action_run will modify the open terminal window, which mean that the plugin is only as aware of docker objects as the users current view is.

Being able to run these commands and manipulate / interpret the output silently would add a good amount of scripting power by giving access to things like the docker container inspect, or docker stats without having to override the users current view.

jakecode avatar Jul 31 '18 15:07 jakecode