Sha256: 1f11aa0f139d208b64e61760ca2a7d54de0f59ed4b70d19206fb58ab703b059d

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

# frozen_string_literal: true

require "rubygems"
require 'cli'
require_relative './gnav/version'
require_relative '../lib/git_prompt'

# CLI options
file = File.expand_path('../../', __FILE__)
gemspec = Gem::Specification::load("#{file}/gnav.gemspec")
CLI.new do
  description gemspec.description
  version gemspec.version
end.parse!

module GNav
  def self.run
    GitPrompt.new
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gnav-0.6.4 lib/gnav.rb
gnav-0.6.3 lib/gnav.rb
gnav-0.6.2 lib/gnav.rb
gnav-0.6.1 lib/gnav.rb