Sha256: 75c3a46db81662eb71bbcc59d7895a7399ef83943f51527ea1db24a182820878

Contents?: true

Size: 292 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
neptuno-1.5.0 lib/neptuno/git/pull.rb
neptuno-1.4.10 lib/neptuno/git/pull.rb
neptuno-1.2.1 lib/neptuno/git/pull.rb
neptuno-1.2.0 lib/neptuno/git/pull.rb