Class: Cliptic::Terminal::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/cliptic/terminal.rb

Class Method Summary collapse

Class Method Details

.runObject



4
5
6
7
8
9
10
# File 'lib/cliptic/terminal.rb', line 4

def self.run
  ARGV.size > 0 ?
    parse_args : main_menu
  rescue StandardError => e
    Curses.close_screen
    abort(e.message)
end