buildkite / buildkite/agent

Help argument order and parsing

Open
#1,342 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.1k
Forks
378
Avg merge
2d 6h
Merged PRs (30d)
74

Description

Even though we're expecting `buildkite-agent command help` we should probably handle this better:

```
$ buildkite-agent help artifact

Options:


```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing `buildkite-agent help artifact` and trace the command-line argument parsing and help entry point in the Go agent. The issue does not name files or tests, so first determine how `buildkite-agent command help` and the reversed argument order are handled. Done means the help invocation no longer produces the empty or malformed output shown.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.