#!/usr/bin/env ruby require ‘gli’ require 'itools' include GLI::App program_desc 'a collection of tools for ios developer' version Itools::VERSION desc "Analyze the memory footprint of each part or component in Xcode project" arg 'xxx.txt linkmap' command :parse do |c| c.action do |global_options, options, args| Itools::LinkMap.parser(args[0]) end exit run(ARGV)