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.
Click to show internal directories.
Click to hide internal directories.