0.2.23 • Published 10 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
10 months ago
0.2.22
10 months ago
0.2.21
10 months ago
0.2.20
10 months ago
0.2.19
10 months ago
0.2.18
10 months ago
0.2.17
10 months ago
0.2.16
10 months ago
0.2.15
10 months ago
0.2.14
10 months ago
0.2.13
10 months ago
0.2.12
10 months ago
0.2.11
10 months ago
0.2.10
10 months ago
0.2.9
10 months ago
0.2.8
10 months ago
0.2.7
10 months ago
0.2.6
10 months ago
0.2.5
10 months ago
0.2.4
10 months ago
0.2.1
12 months ago
0.2.0
12 months ago
0.1.3
12 months ago
0.1.1
12 months ago
0.1.0
12 months ago