-
Notifications
You must be signed in to change notification settings - Fork 71
Abstract data parsing from vitepress data files #1277
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
base: main
Are you sure you want to change the base?
Conversation
5cde0d8 to
d26849e
Compare
d26849e to
02f9b9e
Compare
02f9b9e to
98546f3
Compare
| cli: 'u', | ||
| example: 'username', | ||
| type: doveadm_arg_types.STRING, | ||
| text: `UID of user to apply operation to.`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can also be mask.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
User mask is handled separately, because only certain doveadm commands behave this way. (see lib/constants/doveadm.js and grep for 'doveadm_args_usermask')
| 'user-file': { | ||
| cli: 'F', | ||
| type: doveadm_arg_types.STRING, | ||
| text: `A filename. If set, fetch usernames from file. One username per line.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iirc it's username or mask.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least for doveadm mail commands, it is not a mask. "user-file" iterates through the file and uses each value as-is when executing. (See doveadm_cmdv2_wrapper_parse_common_options() - wildcard_user_r is not set if user-file is used)
Continues the abstraction already done for the events data