bin/moonshot
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'moonshot'
# This is the main entry point for the `moonshot` command-line tool.
begin
Moonshot::CommandLine.new.run!
rescue StandardError => e
warn "#{e} (at #{e.backtrace.first})"
raise e if ENV['MOONSHOT_BACKTRACE']
exit 1
end