nest generate interface <interface>

Generate an interface

Arguments

NameDescription
interfaceThe name of the interface

Options

NameDescription
-d, --dry-runReport actions that would be taken without writing out results
-p, --project <project>Project in which to generate files
--flatEnforce flat structure of generated element
--specEnforce spec files generation (default: true)
--no-specDisable spec files generation
-c, --collection <collection>Schematics collection to use