stubber.commands.clone_cmd

Clone/fetch the micropython repos locally.

Functions

cli_clone(path[, stubs, mpy_repo, mpy_lib_repo])

Clone/fetch the micropython repos locally.

Module Contents

stubber.commands.clone_cmd.cli_clone(path: str | pathlib.Path, stubs: bool = False, mpy_repo: str = 'https://github.com/micropython/micropython.git', mpy_lib_repo: str = 'https://github.com/micropython/micropython-lib.git')

Clone/fetch the micropython repos locally.

The local repos are used to generate frozen-stubs and doc-stubs.

Use –mpy-repo to specify a custom MicroPython repository (e.g., your fork). Use –mpy-lib-repo to specify a custom MicroPython-lib repository.

Parameters: