class SyntaxTree::CLI::ConfigFile
it exists in the current working directory.
When invoking the CLI, we will read this config file and then parse it if
–print-width=100
–plugins=plugin/single_quote
argument, as in:
arguments to the CLI. Each line of the config file should be a new
We allow a minimal configuration file to act as additional command line
def arguments
def arguments exists? ? File.readlines(filepath, chomp: true) : [] end
def exists?
def exists? File.readable?(filepath) end
def initialize
def initialize @filepath = File.join(Dir.pwd, FILENAME) end