Module: PolyglotIos::Helper::Terminal
- Included in:
- Command::Login, Command::Projects, Command::Pull, Command::Setup, ErrorHandler
- Defined in:
- lib/ios_polyglot_cli/helpers/terminal.rb
Instance Method Summary collapse
Instance Method Details
#prompt ⇒ Object
11 12 13 |
# File 'lib/ios_polyglot_cli/helpers/terminal.rb', line 11 def prompt @prompt ||= TTY::Prompt.new(interrupt: :exit) end |
#success(message = 'Success!') ⇒ Object
7 8 9 |
# File 'lib/ios_polyglot_cli/helpers/terminal.rb', line 7 def success( = 'Success!') prompt.ok() end |