class Buildkite::Builder::Commands::Files

Private Instance Methods

parse_options(opts) click to toggle source
# File lib/buildkite/builder/commands/files.rb, line 16
def parse_options(opts)
  opts.on('--manifest MANIFEST', 'The manifest to use') do |manifest|
    options[:manifest] = manifest
  end
end
run() click to toggle source
# File lib/buildkite/builder/commands/files.rb, line 11
def run
  manifests = Loaders::Manifests.load(pipeline_path)
  puts manifests[options[:manifest]].files.sort.join("\n")
end