Sha256: 9964cd223674c8e6bfa8780c776ad8329123b4b7e34dd9eabf94a4632366a835
Contents?: true
Size: 611 Bytes
Versions: 8
Compression:
Stored size: 611 Bytes
Contents
#!/usr/bin/env ruby # encoding: UTF-8 # add lib to libpath (only needed when running from the sources) require 'pathname' lib_path = File.expand_path('../../lib', Pathname.new(__FILE__).realpath) $:.unshift lib_path unless $:.include?(lib_path) STDOUT.sync = true if ARGV[0] == 'complete' ARGV.delete_at(0) require 'kontena/scripts/completer' else ENV['DEBUG'] = "true" if ARGV.any? { |arg| arg == '-D' || arg == '--debug'} ENV['DEBUG'] = "false" if ARGV.any? { |arg| arg == '--no-debug' } require 'kontena_cli' Kontena::PluginManager.init unless ENV['NO_PLUGINS'] Kontena::MainCommand.run end
Version data entries
8 entries across 8 versions & 1 rubygems