Repository navigation
Conversation
Signed-off-by: Helder Correia <[email protected]>
|
✔️ Deploy Preview for devel-docs-dagger-io ready! 🔨 Explore the source changes: 7597c87 🔍 Inspect the deploy log: https://app.netlify.com/sites/devel-docs-dagger-io/deploys/6229e93fd21fe00008cf61ee 😎 Browse the preview: https://deploy-preview-1749--devel-docs-dagger-io.netlify.app |
|
Not super attached to this, just a bit easier sometimes.
func Command(name string, arg ...string) *Cmd(I know... implementation detail) |
|
Code LGTM. API LGTM @shykes ? |
|
This is my design gut feeling talking... I worry that this "command API" still has fundamental issues, and will eventually require a redesign (hopefully not too disruptive). Because of this damocles sword above our heads of a future redesign, my instinct is to not add too much flexibility, different ways to do the same thing, etc. because it will be more special cases to support and migrate if we redesign. It kind of reminds me of So TLDR: I personally don't mind this pattern, in general I'm in favor of adding convenience, but in this case I would prefer to delay, because of possible near-term redesign and the need to keep our options open. |
Fixes #1626
Signed-off-by: Helder Correia