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
7 8 9 10 11 12 13 14 15 16 |
# 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 |