Dagger
Search

gh

No long description provided.

Installation

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

Entrypoint

Return Type
Gh
Example
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
Function Gh.run is not accessible from the gh module
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
Function Gh.get is not accessible from the gh module
func (m *myModule) example()   {
	return dag.
			Gh().
			Get()
}
@function
def example() -> :
	return (
		dag.gh()
		.get()
	)
@func()
example():  {
	return dag
		.gh()
		.get()
}