wttr
No long description provided.
Installation
dagger install github.com/wingyplus/daggerverse/wttr@10cffdbede63f685f7c6ad4154a22e2682622811
Entrypoint
Return Type
Wttr
Example
dagger -m github.com/wingyplus/daggerverse/wttr@10cffdbede63f685f7c6ad4154a22e2682622811 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@10cffdbede63f685f7c6ad4154a22e2682622811 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)
}