Class: Xcodeprojfiler::CLI
- Inherits:
-
Thor
- Object
- Thor
- Xcodeprojfiler::CLI
- Defined in:
- lib/xcodeprojfiler.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
22 23 24 25 26 |
# 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) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# 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 |
Instance Method Details
#show_excluded_code_files ⇒ Object
79 80 81 82 83 84 |
# File 'lib/xcodeprojfiler.rb', line 79 def show_excluded_code_files should_delete = [:delete] ignored_regex_array = [:ignores] Command.show_excluded_code_files(should_delete, ignored_regex_array) end |
#show_excluded_files ⇒ Object
55 56 57 58 59 60 |
# File 'lib/xcodeprojfiler.rb', line 55 def show_excluded_files should_delete = [:delete] ignored_regex_array = [:ignores] Command.show_excluded_files(should_delete, ignored_regex_array) end |