gh
No long description provided.
Installation
dagger install github.com/aweris/daggerverse/gh@v0.0.1Entrypoint
Return Type
GhExample
dagger -m github.com/aweris/daggerverse/gh@83c5efe92af2afacff2a1d3475480ac7f3710ed9 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 🔗
Gh is Github CLI module for Dagger
run() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| token | Secret ! | - | Github token | 
| cmd | String ! | - | command to run | 
| version | String | "2.37.0" | version of the Github CLI | 
| disableCache | Boolean | false | disable cache | 
Example
dagger -m github.com/aweris/daggerverse/gh@83c5efe92af2afacff2a1d3475480ac7f3710ed9 call \
 run --token env:MYSECRET --cmd stringfunc (m *MyModule) Example(ctx context.Context, token *dagger.Secret, cmd string) string  {
	return dag.
			Gh().
			Run(ctx, token, cmd)
}@function
async def example(token: dagger.Secret, cmd: str) -> str:
	return await (
		dag.gh()
		.run(token, cmd)
	)@func()
async example(token: Secret, cmd: string): Promise<string> {
	return dag
		.gh()
		.run(token, cmd)
}get() 🔗
Get returns the Github CLI binary
Return Type
File !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| version | String | "2.37.0" | version of the Github CLI | 
Example
dagger -m github.com/aweris/daggerverse/gh@83c5efe92af2afacff2a1d3475480ac7f3710ed9 call \
 getfunc (m *MyModule) Example() *dagger.File  {
	return dag.
			Gh().
			Get()
}@function
def example() -> dagger.File:
	return (
		dag.gh()
		.get()
	)@func()
example(): File {
	return dag
		.gh()
		.get()
}