Sha256: 44223a2d3eef55e564f32fd3b4249cfe79887d762589c17cc3e2746d13250856
Contents?: true
Size: 440 Bytes
Versions: 6
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true require_relative '../../command' require 'fileutils' module Dri module Commands class Rm class Reports < Dri::Command def initialize(options) @options = options end def execute(input: $stdin, output: $stdout) FileUtils.rm_rf(handover_report_path) if prompt.yes?("Remove everything in #{handover_report_path}?") end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems