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
Name | Type | Default Value | Description |
---|---|---|---|
version | StringKind | - | No description provided |
token | Secret ! | - | No description provided |
cmd | StringKind ! | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
version | StringKind | - | 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()
}