stubber.commands.minify_cmd

Module Contents

Functions

cli_minify(→ int)

Minify createstubs*.py.

stubber.commands.minify_cmd.cli_minify(ctx, source: Union[str, pathlib.Path], target: Union[str, pathlib.Path], keep_report: bool, diff: bool, cross_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