poetry
Module for running Poetry commands.
Installation
dagger install github.com/mxdev88/daggerverse/poetry@97ac1e81c8710054ef2af99d30e05627f13c7ee3
Entrypoint
Return Type
Poetry !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | null | No description provided |
Example
dagger -m github.com/mxdev88/daggerverse/poetry@97ac1e81c8710054ef2af99d30e05627f13c7ee3 call \
func (m *myModule) example() *Poetry {
return dag.
Poetry()
}
@function
def example() -> dag.Poetry:
return (
dag.poetry()
)
@func()
example(): Poetry {
return dag
.poetry()
}
Types
Poetry 🔗
container() 🔗
Return Type
Container !
Example
dagger -m github.com/mxdev88/daggerverse/poetry@97ac1e81c8710054ef2af99d30e05627f13c7ee3 call \
container
func (m *myModule) example() *Container {
return dag.
Poetry().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.poetry()
.container()
)
@func()
example(): Container {
return dag
.poetry()
.container()
}
withBuild() 🔗
Return Type
Poetry !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | A directory. |
Example
dagger -m github.com/mxdev88/daggerverse/poetry@97ac1e81c8710054ef2af99d30e05627f13c7ee3 call \
with-build --source DIR_PATH
func (m *myModule) example(source *Directory) *Poetry {
return dag.
Poetry().
WithBuild(source)
}
@function
def example(source: dagger.Directory) -> dag.Poetry:
return (
dag.poetry()
.with_build(source)
)
@func()
example(source: Directory): Poetry {
return dag
.poetry()
.withBuild(source)
}
withConfig() 🔗
Return Type
Poetry !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
key | String ! | - | No description provided |
value | String ! | - | No description provided |
Example
dagger -m github.com/mxdev88/daggerverse/poetry@97ac1e81c8710054ef2af99d30e05627f13c7ee3 call \
with-config --key string --value string
func (m *myModule) example(key string, value string) *Poetry {
return dag.
Poetry().
WithConfig(key, value)
}
@function
def example(key: str, value: str) -> dag.Poetry:
return (
dag.poetry()
.with_config(key, value)
)
@func()
example(key: string, value: string): Poetry {
return dag
.poetry()
.withConfig(key, value)
}
withPublish() 🔗
Return Type
Poetry !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
repository | String | null | No description provided |
Example
dagger -m github.com/mxdev88/daggerverse/poetry@97ac1e81c8710054ef2af99d30e05627f13c7ee3 call \
with-publish
func (m *myModule) example() *Poetry {
return dag.
Poetry().
WithPublish()
}
@function
def example() -> dag.Poetry:
return (
dag.poetry()
.with_publish()
)
@func()
example(): Poetry {
return dag
.poetry()
.withPublish()
}