Dagger
Search

d2

No long description provided.

Installation

dagger install github.com/shykes/x/d2@19e7232ebecbb9590c9aa6fc955a2c400abf87aa

Entrypoint

Return Type
D2
Example
dagger -m github.com/shykes/x/d2@19e7232ebecbb9590c9aa6fc955a2c400abf87aa 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@19e7232ebecbb9590c9aa6fc955a2c400abf87aa 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)
}