local-agent
No long description provided.
Installation
dagger install github.com/eunomie/local-agent@9e573759e7af3a212698993ace54b0d55c53134b
Entrypoint
Return Type
LocalAgent
Example
func (m *myModule) example() *LocalAgent {
return dag.
LocalAgent()
}
Types
LocalAgent 🔗
devEnvironment() 🔗
Creates a development environment for the project, installs all the needed tools and libraries
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Codebase to work on |
Example
func (m *myModule) example(source *Directory) *Container {
return dag.
LocalAgent().
DevEnvironment(source)
}
workOn() 🔗
Enter a development environment and export the workspace directory
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Codebase to work on |
Example
func (m *myModule) example(source *Directory) *Directory {
return dag.
LocalAgent().
WorkOn(source)
}