Class: Fastlane::Helper::PhraseappHelper
- Inherits:
-
Object
- Object
- Fastlane::Helper::PhraseappHelper
- Defined in:
- lib/fastlane/plugin/phraseapp/helper/phraseapp_helper.rb
Class Method Summary collapse
Class Method Details
.cli_exist? ⇒ Boolean
12 13 14 |
# File 'lib/fastlane/plugin/phraseapp/helper/phraseapp_helper.rb', line 12 def self.cli_exist? !phrase.to_s.empty? end |
.execute(command:) ⇒ Object
8 9 10 |
# File 'lib/fastlane/plugin/phraseapp/helper/phraseapp_helper.rb', line 8 def self.execute(command:) `#{phrase} #{command}` end |
.phrase ⇒ Object
16 17 18 |
# File 'lib/fastlane/plugin/phraseapp/helper/phraseapp_helper.rb', line 16 def self.phrase `which phraseapp`.gsub("\n", '') end |