Dagger
Search

remult-cli

No long description provided.

Installation

dagger install github.com/jpadams/remult-cli@8bf8c51ac17d3a33a902e0d620af52c4e3a6e313

Entrypoint

Return Type
RemultCli !
Example
func (m *myModule) example() *RemultCli  {
	return dag.
			RemultCli()
}
@function
def example() -> dag.RemultCli:
	return (
		dag.remult_cli()
	)
@func()
example(): RemultCli {
	return dag
		.remultCli()
}

Types

RemultCli 🔗

testDbSrv() 🔗

Return a Postgres DB ready for running tests

Return Type
Service !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-A directory.
Example
dagger -m github.com/jpadams/remult-cli@8bf8c51ac17d3a33a902e0d620af52c4e3a6e313 call \
 test-db-srv --source DIR_PATH
func (m *myModule) example(source *Directory) *Service  {
	return dag.
			RemultCli().
			TestDbSrv(source)
}
@function
def example(source: dagger.Directory) -> dagger.Service:
	return (
		dag.remult_cli()
		.test_db_srv(source)
	)
@func()
example(source: Directory): Service {
	return dag
		.remultCli()
		.testDbSrv(source)
}

test() 🔗

Return the result of running unit tests

Return Type
String !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-A directory.
Example
dagger -m github.com/jpadams/remult-cli@8bf8c51ac17d3a33a902e0d620af52c4e3a6e313 call \
 test --source DIR_PATH
func (m *myModule) example(ctx context.Context, source *Directory) string  {
	return dag.
			RemultCli().
			Test(ctx, source)
}
@function
async def example(source: dagger.Directory) -> str:
	return await (
		dag.remult_cli()
		.test(source)
	)
@func()
async example(source: Directory): Promise<string> {
	return dag
		.remultCli()
		.test(source)
}

buildEnv() 🔗

Build a ready-to-use development environment complete with DB

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-A directory.
Example
dagger -m github.com/jpadams/remult-cli@8bf8c51ac17d3a33a902e0d620af52c4e3a6e313 call \
 build-env --source DIR_PATH
func (m *myModule) example(source *Directory) *Container  {
	return dag.
			RemultCli().
			BuildEnv(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
	return (
		dag.remult_cli()
		.build_env(source)
	)
@func()
example(source: Directory): Container {
	return dag
		.remultCli()
		.buildEnv(source)
}