zuke.tools.nest
@zuke/nest 1.0.1: @zuke/nest — typed NestJS CLI (nest) task wrappers for Zuke builds.
zuke on PyPI ↗ 7 symbols
Symbols
class NestBuildSettings(NestSettings) Settings for nest build — compile a NestJS application.
-
app(value: str) -> SelfThe application/project to build (positional, optional).
-
config(path: str) -> SelfPath to the Nest CLI configuration file (
--config <p>). -
path(path: str) -> SelfPath to the
tsconfigfile (--path <p>). -
watch() -> SelfRebuild on file changes (
--watch). -
webpack() -> SelfUse the webpack builder (
--webpack). -
tsc() -> SelfUse the
tscbuilder (--tsc). -
builder(value: str) -> SelfBuilder to use, e.g.
tsc/webpack/swc(--builder <v>). -
preserve_watch_output() -> SelfKeep prior console output between watch rebuilds (
--preserveWatchOutput).
class NestGenerateSettings(NestSettings) Settings for nest generate — generate code from a schematic.
-
schematic(value: str) -> SelfThe schematic to generate, e.g.
module/service(positional, required). -
name(value: str) -> SelfThe name passed to the schematic (positional, optional).
-
project(value: str) -> SelfTarget project in a monorepo (
--project <v>). -
collection(value: str) -> SelfSchematics collection to use (
--collection <v>). -
flat() -> SelfGenerate files without a dedicated directory (
--flat). -
spec() -> SelfForce generation of a spec file (
--spec). -
no_spec() -> SelfDisable generation of a spec file (
--no-spec). -
skip_import() -> SelfSkip importing the generated element into its module (
--skip-import). -
dry_run() -> SelfReport what would be generated without writing files (
--dry-run).
class NestInfoSettings(NestSettings) Settings for nest info — print Nest CLI and project information.
class NestNewSettings(NestSettings) Settings for nest new — scaffold a new NestJS application.
-
name(value: str) -> SelfThe application name (positional, required).
-
directory(path: str) -> SelfGenerate into this directory (
--directory <p>). -
skip_install() -> SelfSkip package installation (
--skip-install). -
skip_git() -> SelfSkip git repository initialization (
--skip-git). -
strict() -> SelfEnable TypeScript strict mode in the generated project (
--strict). -
dry_run() -> SelfReport what would be generated without writing files (
--dry-run). -
package_manager(value: str) -> SelfPackage manager to use, e.g.
npm/yarn/pnpm(--package-manager <v>). -
language(value: str) -> SelfProgramming language, e.g.
ts/js(--language <v>).
class NestSettings(ToolSettings) Shared base for every nest subcommand: the binary and argv assembly.
class NestStartSettings(NestSettings) Settings for nest start — build and run a NestJS application.
-
app(value: str) -> SelfThe application/project to start (positional, optional).
-
config(path: str) -> SelfPath to the Nest CLI configuration file (
--config <p>). -
path(path: str) -> SelfPath to the
tsconfigfile (--path <p>). -
watch() -> SelfRebuild and restart on file changes (
--watch). -
debug() -> SelfStart in debug mode (
--debug). -
preserve_watch_output() -> SelfKeep prior console output between watch rebuilds (
--preserveWatchOutput). -
exec(value: str) -> SelfBinary used to run the compiled output (
--exec <v>). -
builder(value: str) -> SelfBuilder to use, e.g.
tsc/webpack/swc(--builder <v>).
class NestTasks Typed task functions for the NestJS CLI (nest).
-
static async new(ctx: ServiceContext, configure: Callable[[NestNewSettings], NestNewSettings] | None=None) -> ExecResultScaffold a new application:
nest new. -
static async generate(ctx: ServiceContext, configure: Callable[[NestGenerateSettings], NestGenerateSettings] | None=None) -> ExecResultGenerate code from a schematic:
nest generate. -
static async build(ctx: ServiceContext, configure: Callable[[NestBuildSettings], NestBuildSettings] | None=None) -> ExecResultCompile an application:
nest build. -
static async start(ctx: ServiceContext, configure: Callable[[NestStartSettings], NestStartSettings] | None=None) -> ExecResultBuild and run an application:
nest start. -
static async info(ctx: ServiceContext, configure: Callable[[NestInfoSettings], NestInfoSettings] | None=None) -> ExecResultPrint CLI and project information:
nest info.