Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow --dep-type option to be specified with CSV #617

Merged
merged 1 commit into from
May 31, 2023
Merged

Conversation

bmish
Copy link
Owner

@bmish bmish commented May 31, 2023

Before, to specify multiple values, you would have to repeat the option:

--dep-type dependencies --dep-type devDependencies

After, you can also use CSV:

--dep-type dependencies,devDependencies

This function is also used here: https://github.com/bmish/eslint-doc-generator/blob/e9594090e38a4a2e71e56ba0588a5c223435cd5f/lib/cli.ts#L32

Unfortunately, we don't have tests for the CLI yet.

@bmish bmish added the enhancement New feature or request label May 31, 2023
@bmish bmish merged commit 82ac005 into main May 31, 2023
@bmish bmish deleted the dep-type-csv branch May 31, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant