Sha256: 449f9e7f98b80bba36a31fb733a8eff00358b42578d900ec99e553c8db269724

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

# frozen_string_literal: true

require "alacritty_themes/version"
require_relative "alacritty_themes/parser"

module AlacrittyThemes
  class Error < StandardError; end

  # CLI entry point
  class CLI
    def start(argv)
      options = parse_options(argv)
      execute_command(options)
    end

    private

    def parse_options(argv)
      Parser.from(argv)
    end

    def execute_command(options)
      puts options[:message]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alacritty_themes-0.1.3 lib/alacritty_themes.rb
alacritty_themes-0.1.2 lib/alacritty_themes.rb