wttr
No long description provided.
Installation
dagger install github.com/wingyplus/daggerverse/wttr@ea6331e52fc93fdec260559fefc99161c2f3f863
Entrypoint
Return Type
Wttr
Example
dagger -m github.com/wingyplus/daggerverse/wttr@ea6331e52fc93fdec260559fefc99161c2f3f863 call \
func (m *myModule) example() *Wttr {
return dag.
Wttr()
}
@function
def example() -> dag.Wttr:
return (
dag.wttr()
)
@func()
example(): Wttr {
return dag
.wttr()
}
Types
Wttr 🔗
wttr() 🔗
Reports the weather.
Example
$ dagger call wttr
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
location | String ! | - | No description provided |
Example
dagger -m github.com/wingyplus/daggerverse/wttr@ea6331e52fc93fdec260559fefc99161c2f3f863 call \
wttr --location string
func (m *myModule) example(ctx context.Context, location string) string {
return dag.
Wttr().
Wttr(ctx, location)
}
@function
async def example(location: str) -> str:
return await (
dag.wttr()
.wttr(location)
)
@func()
async example(location: string): Promise<string> {
return dag
.wttr()
.wttr(location)
}