psr
Module for running [python-semantic-release](https://python-semantic-release.readthedocs.io/en/latest/index.html) (PSR) commands.
Installation
dagger install github.com/mxdev88/daggerverse/psr@57617ec7d8356e6534c3982a304c536476d07a08
Entrypoint
Return Type
Psr !
Example
dagger -m github.com/mxdev88/daggerverse/psr@57617ec7d8356e6534c3982a304c536476d07a08 call \
func (m *myModule) example() *Psr {
return dag.
Psr()
}
@function
def example() -> dag.Psr:
return (
dag.psr()
)
@func()
example(): Psr {
return dag
.psr()
}
Types
Psr 🔗
base() 🔗
Build base environment
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | null | No description provided |
Example
dagger -m github.com/mxdev88/daggerverse/psr@57617ec7d8356e6534c3982a304c536476d07a08 call \
base
func (m *myModule) example() *Container {
return dag.
Psr().
Base()
}
@function
def example() -> dagger.Container:
return (
dag.psr()
.base()
)
@func()
example(): Container {
return dag
.psr()
.base()
}
version() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | A directory. |
commit | Boolean ! | true | No description provided |
tag | Boolean ! | true | No description provided |
push | Boolean ! | true | No description provided |
vcsRelease | Boolean ! | false | No description provided |
changelog | Boolean ! | true | No description provided |
buildMetadata | String | null | No description provided |
version | String | null | No description provided |
Example
dagger -m github.com/mxdev88/daggerverse/psr@57617ec7d8356e6534c3982a304c536476d07a08 call \
version --source DIR_PATH --commit boolean --tag boolean --push boolean --vcs-release boolean --changelog boolean
func (m *myModule) example(source *Directory, commit bool, tag bool, push bool, vcsRelease bool, changelog bool) *Container {
return dag.
Psr().
Version(source, commit, tag, push, vcsRelease, changelog)
}
@function
def example(source: dagger.Directory, commit: bool, tag: bool, push: bool, vcs_release: bool, changelog: bool) -> dagger.Container:
return (
dag.psr()
.version(source, commit, tag, push, vcs_release, changelog)
)
@func()
example(source: Directory, commit: boolean, tag: boolean, push: boolean, vcsRelease: boolean, changelog: boolean): Container {
return dag
.psr()
.version(source, commit, tag, push, vcsRelease, changelog)
}