Sha256: cda6d05461f14ab8871a13697b89ee62f27d7367bd9f2a5b33aa82f8577390da
Contents?: true
Size: 649 Bytes
Versions: 2
Compression:
Stored size: 649 Bytes
Contents
module Tmg class CLI < Thor desc 'about', 'Displays version number and information.' # Displays information about the installed TMG gem such as: # version, author, developer twitter profile and blog, and a banner. def about puts Tmg::BANNER.bold.red puts 'version: '.bold + Tmg::VERSION.green puts 'author: '.bold + 'Franccesco Orozco'.green puts 'Twitter: '.bold + '@__franccesco'.green puts 'homepage: '.bold + 'https://github.com/franccesco/tmg'.green puts 'learn more: '.bold + 'https://codingdose.info'.green puts # extra line, somehow I like them. end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tmg-0.5.5 | lib/tmg/cli/about.rb |
tmg-0.5.4 | lib/tmg/cli/about.rb |