Skip to content

cli: replace export sub-command with -o option - #6432

Merged
helderco merged 4 commits into
dagger:mainfrom
helderco:helder/oss-21-cli-support-for-o-flag
Jan 22, 2024
Merged

helderco merged 4 commits into
dagger:mainfrom
helderco:helder/oss-21-cli-support-for-o-flag

Conversation

@helderco

Copy link
Copy Markdown
Contributor

Fixes #6357

@helderco
helderco requested a review from sipsma January 16, 2024 19:48
@helderco
helderco force-pushed the helder/oss-21-cli-support-for-o-flag branch from 08401d7 to 50ce975 Compare January 16, 2024 20:25
@helderco
helderco marked this pull request as ready for review January 17, 2024 00:09
@helderco helderco added this to the v0.9.7 milestone Jan 17, 2024

@TomChv TomChv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this is a nice refactor

Comment thread cmd/dagger/call.go Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add that it supports both container, directory or files

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It supports every leaf, those are just non-leaf conveniences. I do think it needs documenting but maybe not in the flag itself.

@sipsma sipsma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments on little details, but overall LGTM! I do think we should probably wait to merge this until after the 0.9.7 release (on jan 18th) unless we update the docs before then too. The doc updates might be quick enough to be doable by then though, depending on timing 🤷‍♂️

Comment thread cmd/dagger/call.go Resolved
Comment thread cmd/dagger/call.go Resolved
Comment thread cmd/dagger/call.go Resolved
@helderco

Copy link
Copy Markdown
Contributor Author

Comments on little details, but overall LGTM! I do think we should probably wait to merge this until after the 0.9.7 release (on jan 18th) unless we update the docs before then too. The doc updates might be quick enough to be doable by then though, depending on timing 🤷‍♂️

Oh, you're not targeting 0.9.7 so we have time to update the docs right after the RC?

@sipsma

sipsma commented Jan 17, 2024

Copy link
Copy Markdown
Contributor

Comments on little details, but overall LGTM! I do think we should probably wait to merge this until after the 0.9.7 release (on jan 18th) unless we update the docs before then too. The doc updates might be quick enough to be doable by then though, depending on timing 🤷‍♂️

Oh, you're not targeting 0.9.7 so we have time to update the docs right after the RC?

I just mean that we should probably only do a release of this PR's changes once the docs have also been updated, so we have somewhere to point to when all the existing users ask us why dagger download broke 😄 Only brought this up because v0.9.7 is imminent, so didn't want us to merge this w/out doc updates without having considered it first.

@helderco helderco removed this from the v0.9.7 milestone Jan 18, 2024
@helderco
helderco force-pushed the helder/oss-21-cli-support-for-o-flag branch from ae9318d to 32c2d80 Compare January 22, 2024 16:02
@helderco
helderco requested a review from sipsma January 22, 2024 16:14

@sipsma sipsma left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updates since last review LGTM!

@helderco
helderco merged commit 829fe2c into dagger:main Jan 22, 2024
@helderco
helderco deleted the helder/oss-21-cli-support-for-o-flag branch January 22, 2024 17:33
@gerhard gerhard added this to the v0.9.8 milestone Jan 26, 2024
@helderco helderco mentioned this pull request Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI: support for -o flag

4 participants