Sha256: 4f8a5782d82573fe981b32860182413f3c4fa82e315570d060d39001523abfba

Contents?: true

Size: 627 Bytes

Versions: 1

Compression:

Stored size: 627 Bytes

Contents

# helper("help", binding)
# helper("rubocop", binding)
# helper("args", binding)
#
# summary "All"
#
# run do |opts, args, cmd|
#   setup(opts, args) do |repo, files|
#     q1 = "Are you sure you want to {{warning:auto-fix}} the {{warning:the entire folder}}"
#     q2 = "Are you sure you want to {{warning:auto-fix}} everything in {{warning:#{files.join(", ")}?}}"
#
#     begin
#       if files.empty?
#         unless CLI::UI.confirm(q1)
#           exit 1
#         end
#       elsif CLI::UI.confirm(q2)
#         exit 1
#       end
#     rescue Interrupt
#       exit 1
#     end
#
#     Rfix.global_enable!
#   end
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rfix-1.1.0.pre.147 lib/rfix/commands/all.rb