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

Use action='extend' for all multi-argument cli flags #6200

Conversation

Jackenmen
Copy link
Member

Description of the changes

This should allow extending the flag's list by passing the flag multiple times, which is typical for CLIs.

Have the changes in this PR been tested?

Yes - I did a preliminary check of the parse_args() output by printing it after.

@Jackenmen Jackenmen added the Type: Enhancement Something meant to enhance existing Red features. label Jul 10, 2023
@github-actions github-actions bot added the Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). label Jul 10, 2023
@Jackenmen Jackenmen added this to the 3.5.3 milestone Jul 19, 2023
@Jackenmen Jackenmen merged commit ba210bd into Cog-Creators:V3/develop Jul 19, 2023
@Jackenmen Jackenmen deleted the allow_extend_on_multi_argument_flags branch July 19, 2023 20:47
@red-githubbot red-githubbot bot added the Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. label Jul 19, 2023
@Jackenmen Jackenmen added Changelog Entry: Added Changelog entry for this PR has already been added to changelog PR. and removed Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. labels Jul 24, 2023
Dav-Git pushed a commit to Dav-Git/Red-DiscordBot that referenced this pull request Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core - Command-line Interfaces This is related to Red's CLIs (redbot, redbot-launcher, redbot-setup). Changelog Entry: Added Changelog entry for this PR has already been added to changelog PR. Type: Enhancement Something meant to enhance existing Red features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants