class ChefCLI::Command::Diff

def policy_group_comparison?(args)

push`, etc.).
that would be inconsistent with other commands (`chef install`, `chef
ruby policyfile. It would be easier if we used an option like `-f`, but
necessary because we support an optional argument with the path to the
Try to detect if the only argument given is a policyfile path. This is
def policy_group_comparison?(args)
  return false if args.empty?
  return true if args.size > 1
  !(args.first =~ /\.rb\Z/)
end