Sha256: b9ae70982d34f31f49c145d2e94c75b19ae7805344e93802112ad1fde9dc7d00

Contents?: true

Size: 296 Bytes

Versions: 10

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

module Neptuno
  module Git
    # Stash all submodule changes
    class Stash < Neptuno::CLI::Base
      desc 'Git: stash all submodule changes'

      def call(services: [], **_options)
        system('git submodule foreach git stash')
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
neptuno-1.0.10 lib/neptuno/git/stash.rb
neptuno-1.0.9 lib/neptuno/git/stash.rb
neptuno-1.0.8 lib/neptuno/git/stash.rb
neptuno-1.0.7 lib/neptuno/git/stash.rb
neptuno-1.0.6 lib/neptuno/git/stash.rb
neptuno-1.0.5 lib/neptuno/git/stash.rb
neptuno-1.0.3 lib/neptuno/git/stash.rb
neptuno-1.0.2 lib/neptuno/git/stash.rb
neptuno-1.0.1 lib/neptuno/git/stash.rb
neptuno-1.0.0 lib/neptuno/git/stash.rb