Dagger
Search

tutor

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

Installation

dagger install github.com/levlaz/daggerverse/tutor@caa9af1a94f1714eea1531373bc793f9f0871f1e

Entrypoint

Return Type
Tutor
Example
dagger -m github.com/levlaz/daggerverse/tutor@caa9af1a94f1714eea1531373bc793f9f0871f1e call \
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@caa9af1a94f1714eea1531373bc793f9f0871f1e 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@caa9af1a94f1714eea1531373bc793f9f0871f1e 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)
}