0.2.23 • Published 1 year ago

mock-builder-gen-cli v0.2.23

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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

1 year ago

0.2.22

1 year ago

0.2.21

1 year ago

0.2.20

1 year ago

0.2.19

1 year ago

0.2.18

1 year ago

0.2.17

1 year ago

0.2.16

1 year ago

0.2.15

1 year ago

0.2.14

1 year ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

1 year ago

0.2.8

1 year ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.2.1

1 year ago

0.2.0

1 year ago

0.1.3

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago