Dagger
Search

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
NameTypeDefault ValueDescription
versionString nullNo 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
NameTypeDefault ValueDescription
sourceDirectory !-A directory.
commitBoolean !trueNo description provided
tagBoolean !trueNo description provided
pushBoolean !trueNo description provided
vcsReleaseBoolean !falseNo description provided
changelogBoolean !trueNo description provided
buildMetadataString nullNo description provided
versionString nullNo 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)
}