submodules

package
v0.0.0-...-be0cd49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 21, 2018 License: MIT Imports: 7 Imported by: 2

Documentation

Overview

Package submodules is a modular way of interacting with submodules This package is often chained together with other packages to create complex commands

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(cli *cli.Cli)

AddCommands for the submodule module

func CommandSubmodules

func CommandSubmodules(output string) error

CommandSubmodules allows a shell command to be run in the current repository submodules It would be a good place to run commands such as `ps` or `ls` It will return a nil error object on success

func LoopSubmodules

func LoopSubmodules(callback func(sub *git.Submodule)) error

LoopSubmodules will run through all submodules in the current repository It will return a nil error object on success

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL