Sha256: e31548f87fbcb8a1c2c115797342eff9a1503ed0c34c8f91046b166374c74bda
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
module Caco::Postgres class Shell < Trailblazer::Operation step ->(ctx, command:, **) { ctx[:shell_command] = "su -c \"#{command}\" postgres" }, id: :build_command step Subprocess(Caco::Executer), input: { shell_command: :command }, output: [:exit_code, :output], id: "shell" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
caco-0.1.0 | lib/caco/postgres/shell.rb |