Class: Colorly::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/colorly/cli.rb

Class Method Summary collapse

Class Method Details

.routerObject



3
4
5
6
7
8
9
# File 'lib/colorly/cli.rb', line 3

def self.router
  router = MisterBin::Runner.new version: VERSION,
    header: 'Colorly Color Palette Tools'

  router.route_all to: Command
  router
end