git_plugin

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Git = plugin.Builder().
	PostGenerationFeature().
	WithName("Initialize Git").
	WithDescription("Initialize a git repository").
	WithPostGenerationAction(func(ctx plugin.PostGenerationContext) error {
		return plugin.ConfirmAndThenActions("Initialize git repo", plugin.CommandAction("git", "init", "-q"), plugin.CommandAction("git", "add", "."))()
	}).
	WithAvailabilityFilter(plugin.HasExec("git")).
	AddFeature().
	Build()

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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