lib/figaro/cli/heroku_set.rb in figaro-1.0.0 vs lib/figaro/cli/heroku_set.rb in figaro-1.1.0

- old
+ new

@@ -8,14 +8,18 @@ end private def command - "heroku config:set #{vars} #{for_app}" + "heroku config:set #{vars} #{for_app} #{for_remote}" end def for_app options[:app] ? "--app=#{options[:app]}" : nil + end + + def for_remote + options[:remote] ? "--remote=#{options[:remote]}" : nil end def vars configuration.keys.map { |k| var(k) }.join(" ") end