hello
A Dagger module to say hello to the world
Installation
dagger install github.com/shykes/hello@v0.1.2
Entrypoint
Return Type
Hello
Example
dagger -m github.com/shykes/hello@214066d90dbe9c09805157f529188343f3221641 call \
func (m *myModule) example() *Hello {
return dag.
Hello()
}
@function
def example() -> dag.Hello:
return (
dag.hello()
)
@func()
example(): Hello {
return dag
.hello()
}
Types
Hello 🔗
A Dagger module to say hello to the world!
hello() 🔗
Say hello to the world!
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
greeting | String | "hello" | Change the greeting |
name | String | "world" | Change the name |
giant | Boolean | - | Encode the message in giant multi-character letters |
shout | Boolean | - | Make the message uppercase, and add more exclamation points |
figletContainer | Container | - | Custom container for running the figlet tool |
Example
dagger -m github.com/shykes/hello@214066d90dbe9c09805157f529188343f3221641 call \
hello
func (m *myModule) example(ctx context.Context) string {
return dag.
Hello().
Hello(ctx)
}
@function
async def example() -> str:
return await (
dag.hello()
.hello()
)
@func()
async example(): Promise<string> {
return dag
.hello()
.hello()
}