lenso-cli 0.1.0

Lenso command-line interface for scaffolding and operating Lenso backend projects.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod modules;

use lenso_host::prelude::*;

/// Host-owned module composition for this application.
///
/// Add project modules here with `HostBuilder::linked_module(...)`. The default
/// keeps Lenso's configured linked profile plus any remote modules from
/// environment configuration.
pub fn host_composition() -> HostComposition {
    HostBuilder::new()
        .linked_module(builtins::auth())
        .linked_module(builtins::auth_password())
        .linked_module(modules::app::linked_module())
        .build()
}