Skip to content

docs: describe positional argument types and accessors - #2532

Closed
Narek-Khachikyan wants to merge 1 commit into
urfave:mainfrom
Narek-Khachikyan:docs/positional-argument-godoc
Closed

Narek-Khachikyan wants to merge 1 commit into
urfave:mainfrom
Narek-Khachikyan:docs/positional-argument-godoc

Conversation

@Narek-Khachikyan

Copy link
Copy Markdown

What type of PR is this?

  • documentation

What this PR does / why we need it:

The positional argument API lacks GoDoc descriptions for its exported types and command accessors. Add comments describing their values and lookup behavior, and document the generic parsing methods. Regenerate godoc-current.txt and testdata/godoc-v3.x.txt as required by the contribution guide.

Which issue(s) this PR fixes:

Fixes #2528

Testing

make generate, make v3approve, make v3diff, make vet, and make test pass; the test target includes race detection. Confirmed go doc StringArg displays the added description.

Release Notes

Document positional argument types and accessors.

@Narek-Khachikyan
Narek-Khachikyan requested a review from a team as a code owner November 7, 2026 18:54
@Narek-Khachikyan Narek-Khachikyan closed this by deleting the head repository Nov 9, 2026
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.

docs: args.go exported types and accessor methods lack godoc comments

1 participant