Class: Envme::CommandRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/envme/command_runner.rb

Direct Known Subclasses

Vars

Class Method Summary collapse

Class Method Details

.build_cmd(prefix) ⇒ Object



3
4
5
6
7
8
9
10
# File 'lib/envme/command_runner.rb', line 3

def self.build_cmd(prefix)
  [
    "envconsul -once",
    "-consul #{Envme.configuration.url}",
    "-prefix #{prefix} -upcase",
    "-token #{Envme.configuration.acl_token} -sanitize env"
  ].join(' ')
end