Sha256: dc3c12e7535438c433f47c60f59e6cf224a1aded9c7de264763f3b7ed6963047

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

#!/usr/bin/env ruby

require_relative './editorconfig/argument_parser'

# The module that encapsulates all of the EditorConfig logic
module EditorConfigGenerator
  # Automatically load the help if invalid arguments are given.
  ARGV.push('-h') if ARGV.empty? || ARGV != '-g' || ARGV != '--generate'
  ArgumentParser.parse(ARGV)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
editorconfig_generator-0.2.3 lib/generator.rb