remult-cli
No long description provided.
Installation
dagger install github.com/Yedidyar/remult-cli@17f8f4d8a0a22a0bd809ce60198a44a567bd9e94
Entrypoint
Return Type
RemultCli !
Example
dagger -m github.com/Yedidyar/remult-cli@17f8f4d8a0a22a0bd809ce60198a44a567bd9e94 call \
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 !
Example
dagger -m github.com/Yedidyar/remult-cli@17f8f4d8a0a22a0bd809ce60198a44a567bd9e94 call \
test-db-srv
func (m *myModule) example() *Service {
return dag.
RemultCli().
TestDbSrv()
}
@function
def example() -> dagger.Service:
return (
dag.remult_cli()
.test_db_srv()
)
@func()
example(): Service {
return dag
.remultCli()
.testDbSrv()
}
test() 🔗
Return the result of running unit tests
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | A directory. |
Example
dagger -m github.com/Yedidyar/remult-cli@17f8f4d8a0a22a0bd809ce60198a44a567bd9e94 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)
}
debug() 🔗
Return container with db for debugging tests
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | A directory. |
Example
dagger -m github.com/Yedidyar/remult-cli@17f8f4d8a0a22a0bd809ce60198a44a567bd9e94 call \
debug --source DIR_PATH
func (m *myModule) example(source *Directory) *Container {
return dag.
RemultCli().
Debug(source)
}
@function
def example(source: dagger.Directory) -> dagger.Container:
return (
dag.remult_cli()
.debug(source)
)
@func()
example(source: Directory): Container {
return dag
.remultCli()
.debug(source)
}
buildEnv() 🔗
Build a ready-to-use development environment
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | A directory. |
Example
dagger -m github.com/Yedidyar/remult-cli@17f8f4d8a0a22a0bd809ce60198a44a567bd9e94 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)
}