8000 [Docs] Document dotted notation and expand tests by n0liu · Pull Request #89 · minimistjs/minimist · GitHub
[go: up one dir, main page]

Skip to content

[Docs] Document dotted notation and expand tests - #89

Open
n0liu wants to merge 1 commit into
minimistjs:mainfrom
n0liu:docs-dotted-notation
Open

n0liu wants to merge 1 commit into
minimistjs:mainfrom
n0liu:docs-dotted-notation

Conversation

@n0liu
@n0liu n0liu commented Oct 4, 2026
Copy link
Copy Markdown

Minimist already parses dotted long option names into nested objects, but the README does not describe this behavior.

Document both value syntaxes, shared parent objects, configuration using full dotted names, negation, repeated values, and numeric object keys. Expand test/dotted.js with 12 assertions covering ordinary dotted values, deeper nesting, repeated values, string and boolean options, the README configuration example, and a short alias for a dotted string option. Existing tests cover dotted defaults, dotted aliases, and numeric path components.

Fixes #67.

Validation: npm run lint (0 errors; 54 warnings in unchanged files), npm run tests-only (183 assertions passing), and git diff --check.

@shadowspawn
Copy link
Copy Markdown
Member

To be clear: is this Pull Request entirely AI/LLM generated?

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.

Document dotted notation and expand tests

2 participants

0