Class: LicenseFinder::CLI::IgnoredGroups
- Extended by:
- Subcommand
- Includes:
- MakesDecisions
- Defined in:
- lib/license_finder/cli/ignored_groups.rb
Instance Method Summary collapse
Methods included from Subcommand
Methods included from MakesDecisions
Instance Method Details
#add(group) ⇒ Object
15 16 17 18 19 |
# File 'lib/license_finder/cli/ignored_groups.rb', line 15 def add(group) { decisions.ignore_group(group, txn) } say "Added #{group} to the ignored groups" end |
#list ⇒ Object
8 9 10 11 |
# File 'lib/license_finder/cli/ignored_groups.rb', line 8 def list say "Ignored Groups:", :blue say_each(decisions.ignored_groups) end |
#remove(group) ⇒ Object
23 24 25 26 27 |
# File 'lib/license_finder/cli/ignored_groups.rb', line 23 def remove(group) { decisions.heed_group(group, txn) } say "Removed #{group} from the ignored groups" end |