Sha256: cb9ef67365d31bb390f337049b70e086be6d97c14fe9a3c72b5c810e92773fd1

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

require 'rzo/app/subcommand'
module Rzo
  class App
    ##
    # Load all rizzo config files and print the config
    class Config < Subcommand
      attr_reader :config
      def run
        exit_status = 0
        load_config!
        write_file(opts[:output]) { |fd| fd.puts(config.to_yaml) }
        exit_status
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rzo-0.8.0 lib/rzo/app/config.rb