Skip to content

docs: describe positional argument types and accessors - #2532

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

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.

This branch has not been deployed

No deployments
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