class Freighthop::CLI::Checks
Public Class Methods
ensure_config_exists!()
click to toggle source
# File lib/freighthop/cli/checks.rb, line 2 def self.ensure_config_exists! unless Freighthop::Config.exist? puts <<-NO_CONFIG ERROR: No freighthop config file (.freighthop.json) found in current path. You can generate a template config with `fh init`, or see `fh help` for more information. NO_CONFIG exit 1 end end