Sha256: 4f975c6b540f7c928ead9db4e6a424ce65001e8f2c90800dfd79826f8108b557
Contents?: true
Size: 691 Bytes
Versions: 43
Compression:
Stored size: 691 Bytes
Contents
# frozen_string_literal: true module LicenseFinder module CLI class ProjectName < Base extend Subcommand include MakesDecisions desc 'show', 'Show the project name' def show say 'Project Name:', :blue say decisions.project_name end auditable desc 'add NAME', 'Set the project name' def add(name) modifying { decisions.name_project(name, txn) } say "Set the project name to #{name}", :green end auditable desc 'remove', 'Remove the project name' def remove modifying { decisions.unname_project(txn) } say 'Removed the project name' end end end end
Version data entries
43 entries across 43 versions & 2 rubygems