Sha256: 2bd8e250df19213b59d5e566b1cc25cb23ad3dc7f2459cd0f0066a766dec0f27
Contents?: true
Size: 755 Bytes
Versions: 22
Compression:
Stored size: 755 Bytes
Contents
module LicenseFinder module CLI class IgnoredDependencies < Base extend Subcommand include MakesDecisions desc "list", "List all the ignored dependencies" def list say "Ignored Dependencies:", :blue say_each(decisions.ignored) end auditable desc "add DEPENDENCY", "Add a dependency to be ignored" def add(dep) modifying { decisions.ignore(dep, txn) } say "Added #{dep} to the ignored dependencies" end auditable desc "remove DEPENDENCY", "Remove a dependency from the ignored dependencies" def remove(dep) modifying { decisions.heed(dep, txn) } say "Removed #{dep} from the ignored dependencies" end end end end
Version data entries
22 entries across 22 versions & 1 rubygems