Sha256: ce1232f8013c42d945cffbfceb3a219abf6b68a98dbce7762fa4de4846c99dc4
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
# frozen_string_literal: true require_relative '../fli_video' module FliVideo # FliVideo::CLI is the command line interface for the FliVideo gem. class CLI def self.start(args) new(args).execute end def initialize(args) @args = args end def execute if @args.empty? puts 'FliVideo CLI - No command provided' return end case @args.first when 'version' puts "FliVideo version #{FliVideo::VERSION}" else puts "Unknown command: #{@args.first}" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fli_video-0.1.0 | lib/fli_video/cli.rb |