Sha256: 71e7b7c0f3f7db8adadd355786fe645bfcb5747bda0389b735d2242eef9ed9db
Contents?: true
Size: 657 Bytes
Versions: 1
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true module Spandx module Cli module Commands class Index class Build < Spandx::Cli::Command def initialize(options) @options = options end def execute(output: $stdout) catalogue = Spandx::Spdx::Catalogue.from_git indexes.each do |index| index.update!(catalogue: catalogue) end output.puts 'OK' end private def indexes [ Spandx::Dotnet::Index.new(directory: @options[:directory]) ] end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spandx-0.6.0 | lib/spandx/cli/commands/index/build.rb |