lib/command/env.rb in cpl-0.4.1 vs lib/command/env.rb in cpl-0.5.0
- old
+ new
@@ -5,12 +5,12 @@
NAME = "env"
OPTIONS = [
app_option(required: true)
].freeze
DESCRIPTION = "Displays app-specific environment variables"
- LONG_DESCRIPTION = <<~HEREDOC
+ LONG_DESCRIPTION = <<~DESC
- Displays app-specific environment variables
- HEREDOC
+ DESC
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']}"