git

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommitAndPush

func CommitAndPush(ctx context.Context, client *dagger.Client, option *GitOption) (err error)

func InitGitFlag

func InitGitFlag(app *cli.App)

Types

type GitOption

type GitOption struct {
	PathContext string `default:"."`
	Author      string `validate:"required"`
	Email       string `validate:"required"`
	Token       string `validate:"required"`
	WithProxy   bool   `default:"true"`
}

Jump to

Keyboard shortcuts

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