class Bootsnap::CLI

def list_files(path, pattern)

def list_files(path, pattern)
  if File.directory?(path)
    Dir[File.join(path, pattern), sort: false]
  elsif File.exist?(path)
    [path]
  else
    []
  end
end