Sha256: b49115284bc89573779b26ceea1c508508199a98a394b23f2f2de5a4e2aba517

Contents?: true

Size: 352 Bytes

Versions: 9

Compression:

Stored size: 352 Bytes

Contents

require 'fileutils'

module Codelog
  module Command
    module Step
      class Delete
        include FileUtils

        def self.run
          Codelog::Command::Step::Delete.new.run
        end

        def run
          chdir Dir.pwd do
            system('rm -rv changelogs/unreleased/*.yml')
          end
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
codelog-0.8.0 lib/codelog/command/step/delete.rb
codelog-0.7.0 lib/codelog/command/step/delete.rb
codelog-0.6.0 lib/codelog/command/step/delete.rb
codelog-0.5.0 lib/codelog/command/step/delete.rb
codelog-0.4.0 lib/codelog/command/step/delete.rb
codelog-0.3.1 lib/codelog/command/step/delete.rb
codelog-0.3.0 lib/codelog/command/step/delete.rb
codelog-0.2.3 lib/codelog/command/step/delete.rb
codelog-0.2.2 lib/codelog/command/step/delete.rb