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

Document the format of the group selection #5

Open
fwyzard opened this issue Mar 24, 2020 · 0 comments
Open

Document the format of the group selection #5

fwyzard opened this issue Mar 24, 2020 · 0 comments
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@fwyzard
Copy link
Owner

fwyzard commented Mar 24, 2020

The files under groups/ follow a specific format:

{
    "key": "group",
    ...
}

Key

key has the format [type|]label, and both type and label can be

  • empty (match anything)
  • a literal string
  • a glob expression

If type is not indicated, it is assumed to be empty, matching any type.

For example:

  • "label" matches a module with the exact label label
  • "type|*" or just "type|" matches any module of type type
  • "type|label" matches any module of type exactly type and label exactly label

etc.

Group

The group has the format group[|subgroup ...], that is one group followed by any number of subgroups, separated by a | character.

@fwyzard fwyzard added good first issue Good for newcomers documentation Improvements or additions to documentation labels Mar 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant