Dagger
Search

hello

A Dagger module to say hello to the world

Installation

dagger install github.com/shykes/daggerverse/hello@dfb1f91fa463b779021d65011f0060f7decda0ba

Entrypoint

Return Type
Hello
Example
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
NameTypeDefault ValueDescription
greetingString "hello"Change the greeting
nameString "world"Change the name
giantBoolean -Encode the message in giant multi-character letters
shoutBoolean -Make the message uppercase, and add more exclamation points
figletContainerContainer -Custom container for running the figlet tool
Example
dagger -m github.com/shykes/daggerverse/hello@dfb1f91fa463b779021d65011f0060f7decda0ba 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()
}