Sha256: 456567ef17662d3118df34d22378f6034a9b5b3e3d28077bbf4725b64129d21c
Contents?: true
Size: 416 Bytes
Versions: 42
Compression:
Stored size: 416 Bytes
Contents
#!/usr/bin/env ruby # WANT_JSON # init bundler in dev env if ENV['QB_DEV_ENV'] ENV.each {|k, v| if k.start_with? 'QB_DEV_ENV_' ENV[k.sub('QB_DEV_ENV_', '')] = v end } require 'bundler/setup' end require 'qb' require 'cmds' class Stream < QB::AnsibleModule def main Dir.chdir @args['chdir'] if @args['chdir'] Cmds.stream! @args['cmd'] changed! end end Stream.new.run
Version data entries
42 entries across 42 versions & 1 rubygems