Sha256: d2bfd5a936b161fcb94286f42c1f69891f3abecb1a3248533948cc4adae38959
Contents?: true
Size: 545 Bytes
Versions: 11
Compression:
Stored size: 545 Bytes
Contents
# frozen_string_literal: true module Command class Env < Base NAME = "env" OPTIONS = [ app_option(required: true) ].freeze DESCRIPTION = "Displays app-specific environment variables" LONG_DESCRIPTION = <<~DESC - Displays app-specific environment variables DESC WITH_INFO_HEADER = false def call cp.fetch_gvc!.dig("spec", "env").map do |prop| # NOTE: atm no special chars handling, consider adding if needed puts "#{prop['name']}=#{prop['value']}" end end end end
Version data entries
11 entries across 11 versions & 2 rubygems