Graylog2 / graylog-project-cli

CLI tool for graylog-project
Other
23 stars 8 forks source link

Option to exclude modules from commands #8

Open kroepke opened 7 years ago

kroepke commented 7 years ago

The tool already has a -M option to select modules against which to run commands, but it is not easily possible to exclude one or more modules.

This typically happens when working on a plugin and the rest of the ecosystem bumps a version, but the plugin is on a branch. In order to rebase the plugin without too much manual work, all modules need to be updated.

Maybe this could work analogous to maven profile selection: -Pprofile selects it, which -P-profile deselects.