Dagger
Search

gh

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/gh@ef6b5bf932277ffc4b7e1ea9fd9a1c26a2780da3

Entrypoint

Return Type
Gh
Example
dagger -m github.com/sagikazarmark/daggerverse/gh@ef6b5bf932277ffc4b7e1ea9fd9a1c26a2780da3 call \
func (m *MyModule) Example() *dagger.Gh  {
	return dag.
			Gh()
}
@function
def example() -> dagger.Gh:
	return (
		dag.gh()
	)
@func()
example(): Gh {
	return dag
		.gh()
}

Types

Gh 🔗

release() 🔗

Manage releases.

Return Type
Release !
Example
dagger -m github.com/sagikazarmark/daggerverse/gh@ef6b5bf932277ffc4b7e1ea9fd9a1c26a2780da3 call \
 release
func (m *MyModule) Example()   {
	return dag.
			Gh().
			Release()
}
@function
def example() -> :
	return (
		dag.gh()
		.release()
	)
@func()
example():  {
	return dag
		.gh()
		.release()
}

run() 🔗

Run a GitHub CLI command (accepts a single command string without “gh”).

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
cmdStringKind !-No description provided
tokenSecret -No description provided
repoStringKind -No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/gh@ef6b5bf932277ffc4b7e1ea9fd9a1c26a2780da3 call \
 run
func (m *MyModule) Example(cmd )   {
	return dag.
			Gh().
			Run(cmd)
}
@function
def example(cmd: ) -> :
	return (
		dag.gh()
		.run(cmd)
	)
@func()
example(cmd: ):  {
	return dag
		.gh()
		.run(cmd)
}

exec() 🔗

Run a GitHub CLI command (accepts a list of arguments without “gh”).

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[StringKind ! ] !-No description provided
tokenSecret -No description provided
repoStringKind -No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/gh@ef6b5bf932277ffc4b7e1ea9fd9a1c26a2780da3 call \
 exec
func (m *MyModule) Example(args )   {
	return dag.
			Gh().
			Exec(args)
}
@function
def example(args: ) -> :
	return (
		dag.gh()
		.exec(args)
	)
@func()
example(args: ):  {
	return dag
		.gh()
		.exec(args)
}

get() 🔗

Get the GitHub CLI binary.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
versionStringKind -No description provided
tokenSecret -No description provided
Example
dagger -m github.com/sagikazarmark/daggerverse/gh@ef6b5bf932277ffc4b7e1ea9fd9a1c26a2780da3 call \
 get
func (m *MyModule) Example()   {
	return dag.
			Gh().
			Get()
}
@function
def example() -> :
	return (
		dag.gh()
		.get()
	)
@func()
example():  {
	return dag
		.gh()
		.get()
}

Release 🔗

create() 🔗

Create a new GitHub Release for a repository.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
tagStringKind !-No description provided
titleStringKind !-No description provided
files[ObjectKind ! ] -No description provided
draftBooleanKind -No description provided
preReleaseBooleanKind -No description provided
targetStringKind -No description provided
notesStringKind -No description provided
notesFileFile -No description provided
discussionCategoryStringKind -No description provided
generateNotesBooleanKind -No description provided
notesStartTagStringKind -No description provided
latestBooleanKind -No description provided
verifyTagBooleanKind -No description provided
notesFromTagBooleanKind -No description provided
tokenSecret -No description provided
repoStringKind -No description provided
Example
Function GhRelease.create is not accessible from the gh module
Function GhRelease.create is not accessible from the gh module
Function GhRelease.create is not accessible from the gh module
Function GhRelease.create is not accessible from the gh module