Change design of commands and lib to use client more effectively #37
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Would be much better to have a client we make in the cli and then pass down to commands to save on memory and to make customising the docker config dir easier
Yes, perfect 💯
Also the context? Idk if that would cause issues tho.
Let us know when you kick this off @roxxers so we don't run into a merge conflict the size of Texas. Lotta churn going on.
will do
https://github.com/urfave/cli/issues/1009
Thanks for pointing it out. I think there might be a use for it. For client stuff tho that will have t obe in the command since it needs to know what context you are using which just means some extra lib code and replacing the line where we get the client
Turns out the cli context has its own context object so I can also just reuse that anytime we need that object