Dagger
Search

gh

No long description provided.

Installation

dagger install github.com/aweris/daggerverse/gh@1c14645e0139a4ca73969bc9314069d8e6d3b18b

Entrypoint

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

Types

Gh 🔗

run() 🔗

Return Type
StringKind !
Arguments
NameTypeDefault ValueDescription
versionStringKind -No description provided
tokenSecret !-No description provided
cmdStringKind !-No description provided
Example
dagger -m github.com/aweris/daggerverse/gh@1c14645e0139a4ca73969bc9314069d8e6d3b18b call \
 run
func (m *myModule) example(token , cmd )   {
	return dag.
			Gh().
			Run(token, cmd)
}
@function
def example(token: , cmd: ) -> :
	return (
		dag.gh()
		.run(token, cmd)
	)
@func()
example(token: , cmd: ):  {
	return dag
		.gh()
		.run(token, cmd)
}

get() 🔗

Get returns the Github CLI binary

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