stubber.commands.switch_cmd
¶
switch
Module Contents¶
Functions¶
|
Switch to a specific version of the micropython repos. |
Attributes¶
- stubber.commands.switch_cmd.VERSION_LIST¶
- stubber.commands.switch_cmd.cli_switch(path: Union[str, pathlib.Path], tag: Optional[str] = None)¶
Switch to a specific version of the micropython repos.
Specify the version of the MicroPython repo. use of the –tag or –version is deprocated
The Micropython-lib repo will be checked out to a commit that corresponds in time to that version tag, in order to allow non-current versions to be stubbed correctly.
The repros must be cloned already
- Parameters
path (Union[str, pathlib.Path]) –
tag (Optional[str]) –