stubber.commands.minify_cmd

Minify createstubs*.py.

Module Contents

Functions

cli_minify(→ int)

Minify createstubs*.py.

stubber.commands.minify_cmd.cli_minify(ctx: click.Context, source: str | pathlib.Path, keep_report: bool, diff: bool, compile: bool, all: bool) int

Minify createstubs*.py.

Creates a minified version of the SOURCE micropython file in TARGET (file or folder). The goal is to use less memory / not to run out of memory, while generating Firmware stubs.

Parameters:
Return type:

int