0.2.23 • Published 7 months ago
mock-builder-gen-cli v0.2.23
TypeScript Mock Generator
This project is a TypeScript-based CLI tool for generating mock builders for TypeScript interfaces and type aliases. It uses ts-morph
for TypeScript AST manipulation and yargs
for command-line argument parsing.
Features
- Generate mock builders for all interfaces and type aliases in a specified directory.
- Interactive mode for selecting specific interfaces to generate mock builders.
- Customizable output directory for generated mock builders.
Prerequisites
- Node.js (>= 14.x)
- npm (>= 6.x)
Usage
Command Line
To run the CLI tool, use the following command:
npx mbg generate <path> [options]
0.2.23
7 months ago
0.2.22
7 months ago
0.2.21
7 months ago
0.2.20
7 months ago
0.2.19
7 months ago
0.2.18
7 months ago
0.2.17
7 months ago
0.2.16
7 months ago
0.2.15
7 months ago
0.2.14
7 months ago
0.2.13
7 months ago
0.2.12
7 months ago
0.2.11
7 months ago
0.2.10
7 months ago
0.2.9
7 months ago
0.2.8
7 months ago
0.2.7
7 months ago
0.2.6
7 months ago
0.2.5
7 months ago
0.2.4
7 months ago
0.2.1
9 months ago
0.2.0
9 months ago
0.1.3
9 months ago
0.1.1
9 months ago
0.1.0
9 months ago