Skip to content

Add mpremote grab-config script - #59

Merged
EdwardChamberlain merged 1 commit into
mainfrom
feat/issue-58-grab-config
Oct 29, 2026
Merged

EdwardChamberlain merged 1 commit into
mainfrom
feat/issue-58-grab-config

Conversation

@EdwardChamberlain

Copy link
Copy Markdown
Owner

Add python scripts/grab_config.py to download the connected board's root config.json into the repository's grabbed configs folder, with optional --device selection matching the existing helpers. Captures use unique timestamped filenames, failed or interrupted downloads are removed, and the saved path is printed without exposing configuration contents.

Ignore /grabbed configs/ in Git and document the commands and output location in the README.

Validation

  • All 167 tests passed, including 8 new cases covering device selection, paths with spaces, invocation from another directory, repeated captures, local config preservation, and failure/interruption cleanup.
  • Full Python lint, syntax checks, and git diff --check passed.
  • Coverage gate passed: 78.0% overall; new script 95%.
  • Wheel and source distribution built successfully; Git ignore rule verified for captured files and nested paths.
  • No physical board was used for validation.

Closes #58

@EdwardChamberlain
EdwardChamberlain merged commit b50ac21 into main Oct 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Add a grab-config script using mpremote

1 participant