Sha256: 2aa712b9ca0508f2f715396bbab69c745e97a6d8645b475444af376b1cb475e7

Contents?: true

Size: 1.15 KB

Versions: 12

Compression:

Stored size: 1.15 KB

Contents

################################################################################
#
#      Author: Zachary Patten <zachary AT jovelabs DOT com>
#   Copyright: Copyright (c) Zachary Patten
#     License: Apache License, Version 2.0
#
#   Licensed under the Apache License, Version 2.0 (the "License");
#   you may not use this file except in compliance with the License.
#   You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#   Unless required by applicable law or agreed to in writing, software
#   distributed under the License is distributed on an "AS IS" BASIS,
#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#   See the License for the specific language governing permissions and
#   limitations under the License.
#
################################################################################
#!/usr/bin/env ruby

def lxc_console
  require 'pry'
  require 'lxc'

  ##
  #
  # Welcome to the LXC RubyGem console!
  #
  ##
  binding.pry
end

begin
  lxc_console
rescue LoadError => e
  puts "This command should only be executed in development environments; this does not appear to be one!"
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
lxc-0.2.12 bin/lxc-console
lxc-0.2.11 bin/lxc-console
lxc-0.2.10 bin/lxc-console
lxc-0.2.9 bin/lxc-console
lxc-0.2.8 bin/lxc-console
lxc-0.2.7 bin/lxc-console
lxc-0.2.6 bin/lxc-console
lxc-0.2.5 bin/lxc-console
lxc-0.2.4 bin/lxc-console
lxc-0.2.3 bin/lxc-console
lxc-0.2.2 bin/lxc-console
lxc-0.2.1 bin/lxc-console