class Sftui::CLI
Handle the application command line parsing and the dispatch to various command objects
@api public
Constants
- Error
Error
raised by this runner
Public Instance Methods
stream(uart)
click to toggle source
# File lib/sftui/cli.rb, line 24 def stream(uart) if options[:help] invoke :help, ['stream'] else require_relative 'commands/stream' Sftui::Commands::Stream.new(uart, options).execute end end
version()
click to toggle source
# File lib/sftui/cli.rb, line 15 def version require_relative 'version' puts "v#{Sftui::VERSION}" end