Dagger
Search

d2

No long description provided.

Installation

dagger install github.com/shykes/x/d2@4f82e10c1f477e586ca9bbe95fdefe94d6565351

Entrypoint

Return Type
D2
Example
dagger -m github.com/shykes/x/d2@4f82e10c1f477e586ca9bbe95fdefe94d6565351 call \
func (m *myModule) example() *D2  {
	return dag.
			D2()
}
@function
def example() -> dag.D2:
	return (
		dag.d2()
	)
@func()
example(): D2 {
	return dag
		.d2()
}

Types

D2 🔗

svg() 🔗

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
sourceFile !-No description provided
Example
dagger -m github.com/shykes/x/d2@4f82e10c1f477e586ca9bbe95fdefe94d6565351 call \
 svg --source file:path
func (m *myModule) example(source *File) *Directory  {
	return dag.
			D2().
			Svg(source)
}
@function
def example(source: dagger.File) -> dagger.Directory:
	return (
		dag.d2()
		.svg(source)
	)
@func()
example(source: File): Directory {
	return dag
		.d2()
		.svg(source)
}