Sha256: 0a030af576e31901ee908a610a5b3594f6d8b81f8e130423a4c58741b5ae37a2

Contents?: true

Size: 929 Bytes

Versions: 25

Compression:

Stored size: 929 Bytes

Contents

#!/usr/bin/env ruby
# -*- coding: utf-8 -*-

require 'rubygems' unless defined?(gem)
gem 'td-client'
here = File.dirname(__FILE__)
$LOAD_PATH << File.expand_path(File.join(here, '..', 'lib'))

# disable the updater for the td gem
require 'td/updater'
TreasureData::Updater.disable(<<EOS

`td update` is only available from the Treasure Data Toolbelt.
You can download and install it from http://toolbelt.treasure-data.com.

It appers you are running the `td` gem. To update the gem to the latest
version, please run `gem update td`.

Please note that if you install `td` with `bundler` in a Gemfile/Gemspec
federated environment, you will need to upgrade the reference version for
`td` in the Gemfile/Gemspec for the updated `td` version to be used after
updating it.

EOS
)

# start up the CLI
require 'td/command/runner'
ev = TreasureData::Command::Runner.new.run ARGV
unless ev.nil?
  exit ev
else
  puts "No exit status"
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
td-0.11.5 bin/td
td-0.11.4 bin/td
td-0.11.3 bin/td
td-0.11.2 bin/td
td-0.11.1 bin/td