class Xcodeprojfiler::CLI

Public Class Methods

exit_on_failure?() click to toggle source
# File lib/xcodeprojfiler.rb, line 22
def self.exit_on_failure?
  puts("")
  help(CLI::Base.shell.new, false, false)
  true
end
help(shell, subcommand = false, display_introduction = true) click to toggle source
Calls superclass method
# File lib/xcodeprojfiler.rb, line 10
    def self.help(shell, subcommand = false, display_introduction = true)
      introduction = <<-MESSAGE
Xcodeprojfiler is a CLI tooL which can help iOS developer to get the info of files which exist in the xcode project dir.
For example, Xcodeprojfiler can scan the current xcode project dir and find out the files which are not included in xcworkspace.

      MESSAGE
      if display_introduction
        puts(introduction)
      end
      super(shell,subcommand)
    end

Public Instance Methods

show_excluded_code_files() click to toggle source
# File lib/xcodeprojfiler.rb, line 79
def show_excluded_code_files
  should_delete = options[:delete]
  ignored_regex_array = options[:ignores]

  Command.show_excluded_code_files(should_delete, ignored_regex_array)
end
show_excluded_files() click to toggle source
# File lib/xcodeprojfiler.rb, line 55
def show_excluded_files
  should_delete = options[:delete]
  ignored_regex_array = options[:ignores]

  Command.show_excluded_files(should_delete, ignored_regex_array)
end
version() click to toggle source
# File lib/xcodeprojfiler.rb, line 32
def version
  Command.version
end