#!/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