Dagger
Search

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
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/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()
}