managed components purge

This commit is contained in:
Thaddeus Hughes
2026-03-12 08:53:01 -05:00
parent 35b7074e81
commit 18faa5b83d
294 changed files with 19 additions and 59603 deletions

View File

@@ -0,0 +1,18 @@
#!/usr/bin/env ruby
require "pathname"
require "yaml"
# A simple CLI to get values in .eil.yml
key = ARGV.shift
project_root = Pathname.new(File.expand_path(__FILE__)).parent.parent
eil_file = project_root / ".eil.yml"
doc = YAML.safe_load(File.read eil_file)
case key
when "copyright_string"
puts doc["copyrights"].map { |e| "#{e['year']}, #{e['name']}" }.join(", ")
else
puts doc[key]
end