Sha256: 3863e12e05d150da935bdd3605aee5ef2d69de0974dbcce645e9ec3e6647eecb

Contents?: true

Size: 403 Bytes

Versions: 11

Compression:

Stored size: 403 Bytes

Contents

#!/usr/bin/env ruby

# end result is there is one container created and
# start will always go into that container until it is
# destroy
# Taking the vagrant model

require_relative '../lib/dockdev'

contName = ARGV.first || File.basename(Dir.getwd)
cmd = ARGV[1]

begin
  Dockdev.with_running_container(contName, command: cmd, root: Dir.getwd)
rescue StandardError => ex
  STDERR.puts ex.message
end


Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dockdev-0.3.8 exe/dockdev
dockdev-0.3.7 exe/dockdev
dockdev-0.3.6 exe/dockdev
dockdev-0.3.5 exe/dockdev
dockdev-0.3.4 exe/dockdev
dockdev-0.3.3 exe/dockdev
dockdev-0.3.2 exe/dockdev
dockdev-0.3.1 exe/dockdev
dockdev-0.3.0 exe/dockdev
dockdev-0.2.0 exe/dockdev
dockdev-0.1.0 exe/dockdev