Class: LicenseFinder::CLI::ProjectName
Instance Method Summary collapse
Methods included from Subcommand
Methods included from MakesDecisions
Instance Method Details
#add(name) ⇒ Object
15 16 17 18 19 |
# File 'lib/license_finder/cli/project_name.rb', line 15 def add(name) { decisions.name_project(name, txn) } say "Set the project name to #{name}", :green end |
#remove ⇒ Object
23 24 25 26 27 |
# File 'lib/license_finder/cli/project_name.rb', line 23 def remove { decisions.unname_project(txn) } say "Removed the project name" end |
#show ⇒ Object
8 9 10 11 |
# File 'lib/license_finder/cli/project_name.rb', line 8 def show say "Project Name:", :blue say decisions.project_name end |