mirror of
https://github.com/zhigang1992/boxen.git
synced 2026-01-12 17:12:46 +08:00
.projects trick
This commit is contained in:
@@ -102,7 +102,10 @@ module Boxen
|
||||
|
||||
def process_args
|
||||
projects = flags.args.join(',')
|
||||
Facter.add('cli_boxen_projects') { setcode { projects } }
|
||||
File.open("#{config.repodir}/.projects", "w+") do |f|
|
||||
f.truncate 0
|
||||
f.write projects
|
||||
end
|
||||
end
|
||||
|
||||
# Should the result of this run have any effect on GitHub issues?
|
||||
|
||||
Reference in New Issue
Block a user