@rxdi/schematics
Version:
29 lines (27 loc) • 481 B
TypeScript
import { Path } from '@angular-devkit/core';
export interface ClassOptions {
/**
* The name of the class.
*/
name: string;
/**
* The path to create the class.
*/
path?: string | Path;
/**
* Application language.
*/
language?: string;
/**
* The source root path
*/
sourceRoot?: string;
/**
* Specifies if a spec file is generated.
*/
spec?: boolean;
/**
* Flag to indicate if a directory is created.
*/
flat?: boolean;
}