Method: LicenseFinder::CLI::Licenses#add
- Defined in:
- lib/license_finder/cli/licenses.rb
#add(name, license) ⇒ Object
11 12 13 14 15 |
# File 'lib/license_finder/cli/licenses.rb', line 11 def add(name, license) { decisions.license(name, license, txn) } printer.say "The #{name} dependency has been marked as using #{license} license!", :green end |