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