Dagger
Search

tutor

Learn Dagger Interactively: dagger -m github.com/levlaz/daggerverse/tutor call start

Installation

dagger install github.com/levlaz/daggerverse/tutor@04cd6dc760b691442cb15e3bab6392f35f1901db

Entrypoint

Return Type
Tutor
Example
func (m *myModule) example() *Tutor  {
	return dag.
			Tutor()
}
@function
def example() -> dag.Tutor:
	return (
		dag.tutor()
	)
@func()
example(): Tutor {
	return dag
		.tutor()
}

Types

Tutor

start()

Return a welcome prompt.

Return Type
String !
Example
dagger -m github.com/levlaz/daggerverse/tutor@04cd6dc760b691442cb15e3bab6392f35f1901db call \
 start
func (m *myModule) example(ctx context.Context) string  {
	return dag.
			Tutor().
			Start(ctx)
}
@function
async def example() -> str:
	return await (
		dag.tutor()
		.start()
	)
@func()
async example(): Promise<string> {
	return dag
		.tutor()
		.start()
}

tutor()

Run through Dagger Tutor at a specific step.

Return Type
String !
Arguments
NameTypeDefault ValueDescription
stepString !-No description provided
Example
dagger -m github.com/levlaz/daggerverse/tutor@04cd6dc760b691442cb15e3bab6392f35f1901db call \
 tutor --step string
func (m *myModule) example(ctx context.Context, step string) string  {
	return dag.
			Tutor().
			Tutor(ctx, step)
}
@function
async def example(step: str) -> str:
	return await (
		dag.tutor()
		.tutor(step)
	)
@func()
async example(step: string): Promise<string> {
	return dag
		.tutor()
		.tutor(step)
}