nestrs-cli-rs 0.1.0

Rust port of the Nest CLI for the nestrs organization.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Upstream source: `../nest-cli/lib/runners/runner.factory.ts`.

use std::path::Path;

use super::{ProcessRunner, RunnerKind};

pub fn create(kind: RunnerKind) -> ProcessRunner {
    super::RunnerFactory::create(kind)
}

pub fn create_schematic(schematics_binary: impl AsRef<Path>) -> ProcessRunner {
    super::RunnerFactory::create_schematic(schematics_binary)
}