Dagger
Search

dagger-cli

No long description provided.

Installation

dagger install github.com/shykes/dagger/cmd/dagger@c3d2e98fe40ecc24e52d5a268e383b61b9a1932c

Entrypoint

Return Type
DaggerCli !
Arguments
NameTypeDefault ValueDescription
sourceDirectory -No description provided
baseContainer -Base image for go build environment
Example
dagger -m github.com/shykes/dagger/cmd/dagger@c3d2e98fe40ecc24e52d5a268e383b61b9a1932c call \
func (m *myModule) example() *DaggerCli  {
	return dag.
			DaggerCli()
}
@function
def example() -> dag.DaggerCli:
	return (
		dag.dagger_cli()
	)
@func()
example(): DaggerCli {
	return dag
		.daggerCli()
}

Types

DaggerCli 🔗

binary() 🔗

Build the dagger CLI binary for a single platform

Return Type
File !
Arguments
NameTypeDefault ValueDescription
platformScalar -No description provided
Example
dagger -m github.com/shykes/dagger/cmd/dagger@c3d2e98fe40ecc24e52d5a268e383b61b9a1932c call \
 binary
func (m *myModule) example() *File  {
	return dag.
			DaggerCli().
			Binary()
}
@function
def example() -> dagger.File:
	return (
		dag.dagger_cli()
		.binary()
	)
@func()
example(): File {
	return dag
		.daggerCli()
		.binary()
}

reference() 🔗

Generate a markdown CLI reference doc

Return Type
File !
Arguments
NameTypeDefault ValueDescription
frontmatterString -No description provided
includeExperimentalBoolean -Include experimental commands
Example
dagger -m github.com/shykes/dagger/cmd/dagger@c3d2e98fe40ecc24e52d5a268e383b61b9a1932c call \
 reference
func (m *myModule) example() *File  {
	return dag.
			DaggerCli().
			Reference()
}
@function
def example() -> dagger.File:
	return (
		dag.dagger_cli()
		.reference()
	)
@func()
example(): File {
	return dag
		.daggerCli()
		.reference()
}