Sha256: 68a514393113e7a345afa85885319bb36c55271c56b60ea3d81ca0ab4b211e09

Contents?: true

Size: 545 Bytes

Versions: 11

Compression:

Stored size: 545 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.init unless ENV['NO_PLUGINS']
  Kontena::MainCommand.run
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
kontena-cli-1.4.0 bin/kontena
kontena-cli-1.4.0.rc2 bin/kontena
kontena-cli-1.4.0.rc1 bin/kontena
kontena-cli-1.4.0.pre14 bin/kontena
kontena-cli-1.4.0.pre13 bin/kontena
kontena-cli-1.4.0.pre12 bin/kontena
kontena-cli-1.4.0.pre11 bin/kontena
kontena-cli-1.4.0.pre10 bin/kontena
kontena-cli-1.4.0.pre9 bin/kontena
kontena-cli-1.4.0.pre8 bin/kontena
kontena-cli-1.4.0.pre7 bin/kontena