Dagger
Search

prettier

No long description provided.

Installation

dagger install github.com/wingyplus/daggerverse/prettier@b9b978f7feaba1baf6c408b1a9dea01ac2ca3510

Entrypoint

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

Types

Prettier 🔗

formatFile() 🔗

Format a file.

Return Type
File !
Arguments
NameTypeDefault ValueDescription
pathFile !-No description provided
Example
dagger -m github.com/wingyplus/daggerverse/prettier@b9b978f7feaba1baf6c408b1a9dea01ac2ca3510 call \
 format-file --path file:path
func (m *myModule) example(path *File) *File  {
	return dag.
			Prettier().
			FormatFile(path)
}
@function
def example(path: dagger.File) -> dagger.File:
	return (
		dag.prettier()
		.format_file(path)
	)
@func()
example(path: File): File {
	return dag
		.prettier()
		.formatFile(path)
}

container() 🔗

Returns a container that contains prettier binary.

Return Type
Container !
Example
dagger -m github.com/wingyplus/daggerverse/prettier@b9b978f7feaba1baf6c408b1a9dea01ac2ca3510 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Prettier().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.prettier()
		.container()
	)
@func()
example(): Container {
	return dag
		.prettier()
		.container()
}