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

Named option groups #52

Open
NotUnlikeTheWaves opened this issue Jun 25, 2021 · 1 comment
Open

Named option groups #52

NotUnlikeTheWaves opened this issue Jun 25, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@NotUnlikeTheWaves
Copy link
Collaborator

I'd like to be able to "name" option groups and use them in variable places in the command substitution. For example:

# shift + {a, b}:groupA + {c,d}:groupB
echo {hello, hi}:groupB {this is an example, blabla}:groupA

This would also make it easy to re-use option groups in for example multiple line commands.

I suggest that the rule for this should be that if any of the option groups are named, then all should be. Thoughts?

@NotUnlikeTheWaves NotUnlikeTheWaves added enhancement New feature or request help wanted Extra attention is needed labels Jun 25, 2021
@dakyskye
Copy link
Owner

Looks fine to me 👍 let's go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants