devenv
No long description provided.
Installation
dagger install github.com/tsirysndr/daggerverse/devenv@49a5fc67543bf567d7eb225e2336b1c84f3121d2
Entrypoint
Return Type
Devenv
Example
dagger -m github.com/tsirysndr/daggerverse/devenv@49a5fc67543bf567d7eb225e2336b1c84f3121d2 call \
func (m *myModule) example() *Devenv {
return dag.
Devenv()
}
@function
def example() -> dag.Devenv:
return (
dag.devenv()
)
@func()
example(): Devenv {
return dag
.devenv()
}
Types
Devenv 🔗
run() 🔗
Run a command
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
command | StringKind ! | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/devenv@49a5fc67543bf567d7eb225e2336b1c84f3121d2 call \
run
func (m *myModule) example(command ) {
return dag.
Devenv().
Run(command)
}
@function
def example(command: ) -> :
return (
dag.devenv()
.run(command)
)
@func()
example(command: ): {
return dag
.devenv()
.run(command)
}
dev() 🔗
Return a container with a dev environment
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/devenv@49a5fc67543bf567d7eb225e2336b1c84f3121d2 call \
dev
func (m *myModule) example() {
return dag.
Devenv().
Dev()
}
@function
def example() -> :
return (
dag.devenv()
.dev()
)
@func()
example(): {
return dag
.devenv()
.dev()
}
ci() 🔗
Build the devenv shell and run any pre-commit hooks
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
Example
dagger -m github.com/tsirysndr/daggerverse/devenv@49a5fc67543bf567d7eb225e2336b1c84f3121d2 call \
ci
func (m *myModule) example() {
return dag.
Devenv().
Ci()
}
@function
def example() -> :
return (
dag.devenv()
.ci()
)
@func()
example(): {
return dag
.devenv()
.ci()
}