dagger-cli
No long description provided.
Installation
dagger install github.com/helderco/dagger/cmd/dagger@2ec23bae475dcd7812d7ff644dbb9e111bf4617b
Entrypoint
Return Type
DaggerCli !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory | - | No description provided |
base | Container | - | Base image for go build environment |
Example
dagger -m github.com/helderco/dagger/cmd/dagger@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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
Name | Type | Default Value | Description |
---|---|---|---|
platform | Scalar | - | No description provided |
Example
dagger -m github.com/helderco/dagger/cmd/dagger@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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
Name | Type | Default Value | Description |
---|---|---|---|
frontmatter | String | - | No description provided |
includeExperimental | Boolean | - | Include experimental commands |
Example
dagger -m github.com/helderco/dagger/cmd/dagger@2ec23bae475dcd7812d7ff644dbb9e111bf4617b 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()
}