Skip to content

Reusable structured flags #24

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

Merged
merged 1 commit into from
Feb 23, 2023
Merged

Reusable structured flags #24

merged 1 commit into from
Feb 23, 2023

Conversation

voxpelli
Copy link
Contributor

To ensure that the different commands stay in line with one another and consistent (+ to make the code a bit more DRY and easier to follow) this PR introduces reusable structured flags.

The reusable structured flags combines the flag settings with the help list explanation and does so in a way that preserves the meow typing and thus still ensures a correct typing of the .flags result from meow

All in all, thus should make it easier to make a more reusable formatting setup – for help text as well as for command output.

@voxpelli voxpelli added the enhancement New feature or request label Feb 22, 2023
@voxpelli voxpelli requested a review from bcomnes February 22, 2023 20:46
@voxpelli voxpelli self-assigned this Feb 22, 2023
@voxpelli voxpelli merged commit 535a68e into master Feb 23, 2023
@voxpelli voxpelli deleted the structured-flags branch February 23, 2023 11:00
bmeck added a commit that referenced this pull request Mar 2, 2023
@bmeck bmeck mentioned this pull request Mar 2, 2023
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.

2 participants