Sha256: 2669b87af19acf0cc46eefb91aeb58f0f4360fb3eb99e86a96807b17f78b51b2

Contents?: true

Size: 345 Bytes

Versions: 3

Compression:

Stored size: 345 Bytes

Contents

#!/usr/bin/env ruby
require "bundler/setup"

require 'json'
require 'dotenv'
Dotenv.load

require "kaba"

if ARGV[0] == 'test'
  # 运行测试程序
  load DatasetSource.testfile
elsif ARGV[0] == 'version'
  # 显示版本号
  puts Kaba::VERSION
else
  # 运行 DPodfile 文件,DPodfile 是一个 Ruby 文件
  load DatasetSource.podfile
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kaba-0.4.0 exe/kaba
kaba-0.3.2 exe/kaba
kaba-0.3.0 exe/kaba