Open everetteallen opened 9 years ago
I've been thinking about this recently, as I need the ability to glob-add/remove computers from a group.
e.g. something like jss_helper group US822 --remove 'US822-*'
Some of this functionality is already possible by just grepping:
jss_helper packages
| grep -i skype`
I had resisted adding this kind of feature due to the standard procedure of piping to grep handling a lot of things. But adding globbing as per my needs above is one thing that couldn't be done that way.
jss_helper installs --search skype
or some similar incantation would be another.
Ideally, one generalized search function would handle all of these possibilities, and indeed, that's what I had been planning!
So would be nice to be able to use syntax like jss_helper installs skype and get a list of policies and configurations that install any package with the substring "skype" (not case sensitive). Also true for joss_helper packages skype where would return list of all packages containing that substring