Sha256: a3dda2f4f1c4eb03c85632e37863322d70702f4d548f5e742f3658790a9bbb68
Contents?: true
Size: 554 Bytes
Versions: 24
Compression:
Stored size: 554 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'} require 'kontena_cli' Kontena::PluginManager.instance.init unless ENV['NO_PLUGINS'] Kontena::MainCommand.run end
Version data entries
24 entries across 24 versions & 1 rubygems