Dagger
Search

quarto

This module has been generated via dagger init and serves as a reference to
basic module structure as you get started with Dagger.

Two functions have been pre-created. You can modify, delete, or add to them,
as needed. They demonstrate usage of arguments and return types using simple
echo and grep commands. The functions can be called from the dagger CLI or
from one of the SDKs.

The first line in this comment block is a short description line and the
rest is a long description with more detail on the module's purpose or usage,
if appropriate. All modules should have a short description.

Installation

dagger install github.com/softwaredevelop/daggerverse/quarto@793c6b5d581e771c418e8e6c778554185c6c730c

Entrypoint

Return Type
Quarto !
Arguments
NameTypeDefault ValueDescription
imageString -Custom image reference in "repository:tag" format to use as a base container.
extensions[String ! ] -List of extensions to add to the container.
latexPackages[String ! ] -List of optional LaTeX packages to install.
Example
dagger -m github.com/softwaredevelop/daggerverse/quarto@793c6b5d581e771c418e8e6c778554185c6c730c call \
func (m *MyModule) Example() *dagger.Quarto  {
	return dag.
			Quarto()
}
@function
def example() -> dagger.Quarto:
	return (
		dag.quarto()
	)
@func()
example(): Quarto {
	return dag
		.quarto()
}

Types

Quarto 🔗

Quarto is a module for running Quarto

build() 🔗

Build runs the quarto render command exporting to a directory

Return Type
Directory !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-source directory.
Example
dagger -m github.com/softwaredevelop/daggerverse/quarto@793c6b5d581e771c418e8e6c778554185c6c730c call \
 build --source DIR_PATH
func (m *MyModule) Example(source *dagger.Directory) *dagger.Directory  {
	return dag.
			Quarto().
			Build(source)
}
@function
def example(source: dagger.Directory) -> dagger.Directory:
	return (
		dag.quarto()
		.build(source)
	)
@func()
example(source: Directory): Directory {
	return dag
		.quarto()
		.build(source)
}

cli() 🔗

Cli runs the quarto cli

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
argsString !-commands to run
Example
dagger -m github.com/softwaredevelop/daggerverse/quarto@793c6b5d581e771c418e8e6c778554185c6c730c call \
 cli --args string
func (m *MyModule) Example(args string) *dagger.Container  {
	return dag.
			Quarto().
			Cli(args)
}
@function
def example(args: str) -> dagger.Container:
	return (
		dag.quarto()
		.cli(args)
	)
@func()
example(args: string): Container {
	return dag
		.quarto()
		.cli(args)
}

render() 🔗

Render runs the quarto render command

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-source directory.
Example
dagger -m github.com/softwaredevelop/daggerverse/quarto@793c6b5d581e771c418e8e6c778554185c6c730c call \
 render --source DIR_PATH
func (m *MyModule) Example(source *dagger.Directory) *dagger.Container  {
	return dag.
			Quarto().
			Render(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.quarto()
		.render(source)
	)
@func()
example(source: Directory): Container {
	return dag
		.quarto()
		.render(source)
}