Class: Victor::CLI::CommandLine
- Inherits:
-
Object
- Object
- Victor::CLI::CommandLine
- Defined in:
- lib/victor/cli/command_line.rb
Class Method Summary collapse
Class Method Details
.router ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/victor/cli/command_line.rb', line 8 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 |