Sha256: 6ec53b231f8328ad3882f6062a73cc02b6ae3a5dc1faa21136e601f0e6233bda
Contents?: true
Size: 632 Bytes
Versions: 4
Compression:
Stored size: 632 Bytes
Contents
# frozen_string_literal: true module Spandx module Cli module Commands class Index class Update < Spandx::Cli::Command def initialize(options) @options = options end def execute(output: $stdout) [ 'https://github.com/mokhan/spandx-rubygems.git', 'https://github.com/spdx/license-list-data.git', ].each do |url| output.puts "Updating #{url}..." Spandx::Core::Database.new(url: url).update! end output.puts 'OK' end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems