hello
A Dagger module to say hello to the world
Installation
dagger install github.com/shykes/daggerverse/hello@a3f377083ddc015de801b7b04d0543bc5647b3f8
Entrypoint
Return Type
Hello
Example
dagger -m github.com/shykes/daggerverse/hello@a3f377083ddc015de801b7b04d0543bc5647b3f8 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/daggerverse/hello@a3f377083ddc015de801b7b04d0543bc5647b3f8 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()
}