class Victor::CLI::CommandLine

Public Class Methods

router() click to toggle source
# File lib/victor/cli/command_line.rb, line 7
def self.router
  router = MisterBin::Runner.new version: VERSION,
    header: "Victor SVG Utilities"

  router.route 'init',    to: Commands::Init
  router.route 'convert', to: Commands::Convert
  router.route 'render',  to: Commands::Render

  router
end