Module: PolyglotCli::Helper::Terminal
- Included in:
- Command::Login, Command::Pull, Command::Push, Command::Setup, Command::Status, ErrorHandler, IO::Config, IO::Locale, IO::Token
- Defined in:
- lib/polyglot_cli/helpers/terminal.rb
Instance Method Summary collapse
Instance Method Details
#prompt ⇒ Object
10 11 12 |
# File 'lib/polyglot_cli/helpers/terminal.rb', line 10 def prompt @prompt ||= TTY::Prompt.new end |
#success ⇒ Object
6 7 8 |
# File 'lib/polyglot_cli/helpers/terminal.rb', line 6 def success prompt.ok('Success!') end |