Class: LicenseFinder::CLI::ProjectName

Inherits:
ConfigSubcommand show all
Defined in:
lib/license_finder/cli.rb

Instance Method Summary collapse

Methods inherited from Subcommand

banner

Methods inherited from Base

subcommand

Instance Method Details

#set(name) ⇒ Object



148
149
150
151
152
153
# File 'lib/license_finder/cli.rb', line 148

def set(name)
  modifying {
    LicenseFinder.config.project_name = name
  }
  say "Set the project name to #{name}", :green
end