Sha256: 25f47ff1be620e958e34f704e997d0ec19432733472fdafcb2befc13faa6008c
Contents?: true
Size: 610 Bytes
Versions: 10
Compression:
Stored size: 610 Bytes
Contents
# frozen_string_literal: true module Buildkite module Builder module Commands class Files < Abstract private self.description = 'Outputs files that match the specified manifest.' def run pipeline, manifest = ARGV.first.to_s.split('/') if !pipeline || !manifest raise 'You must specify a pipeline and a manifest (eg "mypipeline/mymanifest")' end manifests = Loaders::Manifests.load(pipeline) manifests[manifest].files.each do |file| puts file end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems