8000 arg: introduce Arg alias, add note about quoting by bobheadxi · Pull Request #36 · sourcegraph/run · GitHub 8000
[go: up one dir, main page]

Skip to content

Conversation

@bobheadxi
Copy link
Member

Example:

run.Cmd(ctx, "echo", run.Arg("hello world!")).Run().Wait()

This was a source of confusion recently: #34 , so we introduce an "official" way to quote things.

@bobheadxi bobheadxi requested review from a team and daxmc99 May 27, 2022 17:30
@bobheadxi bobheadxi requested a review from michaellzc as a code owner May 27, 2022 17:30
Copy link
@daxmc99 daxmc99 left a comment

Choose a reason for hiding this comment

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

🙌 Nice!
Thanks for adding this

@bobheadxi bobheadxi merged commit c1bec3b into main May 27, 2022
@bobheadxi bobheadxi deleted the cmd-arg branch May 27, 2022 22:07
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.

3 participants

0