Sha256: c83b950857782cac64cd052df560c5a34812ad52afe52a17b2c958ccf5fa66be
Contents?: true
Size: 968 Bytes
Versions: 1
Compression:
Stored size: 968 Bytes
Contents
#!/usr/bin/env ruby require "xsort" def execute(option) if option.options.length == 0 && option.path.length == 0 puts "Usage: xsort [-v] [<path>] [-o] " puts "These are common detect commands used in various situations:" puts "xsort version: #{Xsort::VERSION}" puts "option:" puts "-v: display xsort version number" puts "-o: output result" puts "-r: Just extracting output.pbxproj will not write to pbxproj of Xcode project" puts "\n" puts "Regars !" elsif option.options.length == 1 && option.options[0] == "-v" puts "Version: #{Xsort::VERSION}" elsif option.path.index("project.pbxproj") # excute Xsort xsort = Xsort::Sortproj.new(option.path) xsort.sort(option.stdout,option.notOverwrite) else puts "(*_*).oO not pbxproj file" puts "must select pbxproj file" puts "($_$).oO omg" end end execute(Option.new(ARGV))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xsort-1.2.4 | bin/xsort |