Class: Jobly::Commands::InfoCmd
- Defined in:
- lib/jobly/commands/info.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/jobly/commands/info.rb', line 10 def run raise InfoFileNotFound, info_file unless File.exist? info_file puts TTY::Markdown.parse(info, theme: { header: i[green bold], em: i[magenta bold], hr: :yellow, link: i[blue underline], list: :cyan, strong: i[cyan bold], table: :yellow, quote: :magenta, }) end |