Sha256: 1797171432f19c62443d49dde4d9ef4ac54590a7ba48e0e9e1abc829446d8fe9

Contents?: true

Size: 292 Bytes

Versions: 10

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

module Neptuno
  module Git
    # Pull all submodule changes
    class Pull < Neptuno::CLI::Base
      desc 'Git: pull all submodule changes'

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

Version data entries

10 entries across 10 versions & 1 rubygems

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