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/schematics/abstract.collection.ts`.

pub fn create(collection: impl Into<String>) -> super::AbstractCollection {
    super::AbstractCollection::new(collection)
}

pub fn build_command_line(
    collection: &super::AbstractCollection,
    name: &str,
    options: &[super::SchematicOption],
) -> String {
    collection.build_command_line(name, options)
}