mposcli 0.2.0__tar.gz → 0.4.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. {mposcli-0.2.0 → mposcli-0.4.0}/.pre-commit-config.yaml +1 -1
  2. {mposcli-0.2.0 → mposcli-0.4.0}/.run/Unittests __all__.run.xml +2 -3
  3. mposcli-0.4.0/.venv-app/lib/python3.14/site-packages/cli_base/tests/shell_complete_snapshots/.gitignore +1 -0
  4. {mposcli-0.2.0 → mposcli-0.4.0}/PKG-INFO +187 -98
  5. {mposcli-0.2.0 → mposcli-0.4.0}/README.md +186 -97
  6. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/__init__.py +1 -1
  7. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_app/build.py +1 -0
  8. mposcli-0.4.0/mposcli/cli_app/copy_mpos.py +195 -0
  9. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_app/flash.py +1 -1
  10. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_app/run_deskop.py +3 -2
  11. mposcli-0.4.0/mposcli/cli_app/update.py +61 -0
  12. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_dev/testing.py +3 -3
  13. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_dev/update_readme_history.py +1 -1
  14. mposcli-0.4.0/mposcli/fs_utils.py +26 -0
  15. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/mpos_utils.py +3 -3
  16. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/tests/__init__.py +2 -2
  17. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/tests/test_readme.py +17 -5
  18. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/user_input.py +59 -4
  19. {mposcli-0.2.0 → mposcli-0.4.0}/uv.lock +137 -137
  20. mposcli-0.2.0/mposcli/cli_app/copy_mpos.py +0 -92
  21. mposcli-0.2.0/mposcli/cli_app/update.py +0 -35
  22. mposcli-0.2.0/mposcli/fs_utils.py +0 -6
  23. {mposcli-0.2.0 → mposcli-0.4.0}/.editorconfig +0 -0
  24. {mposcli-0.2.0 → mposcli-0.4.0}/.github/workflows/tests.yml +0 -0
  25. {mposcli-0.2.0 → mposcli-0.4.0}/.gitignore +0 -0
  26. {mposcli-0.2.0 → mposcli-0.4.0}/.idea/.gitignore +0 -0
  27. {mposcli-0.2.0 → mposcli-0.4.0}/.pre-commit-hooks.yaml +0 -0
  28. {mposcli-0.2.0 → mposcli-0.4.0}/.run/Template Python tests.run.xml +0 -0
  29. {mposcli-0.2.0 → mposcli-0.4.0}/.run/Template Python.run.xml +0 -0
  30. {mposcli-0.2.0 → mposcli-0.4.0}/.run/cli --help.run.xml +0 -0
  31. {mposcli-0.2.0 → mposcli-0.4.0}/.run/dev-cli --help.run.xml +0 -0
  32. {mposcli-0.2.0 → mposcli-0.4.0}/.run/dev-cli test.run.xml +0 -0
  33. {mposcli-0.2.0 → mposcli-0.4.0}/.venv-app/.gitignore +0 -0
  34. {mposcli-0.2.0 → mposcli-0.4.0}/cli.py +0 -0
  35. {mposcli-0.2.0 → mposcli-0.4.0}/dev-cli.py +0 -0
  36. {mposcli-0.2.0 → mposcli-0.4.0}/dist/.gitignore +0 -0
  37. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/__main__.py +0 -0
  38. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_app/__init__.py +0 -0
  39. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_dev/__init__.py +0 -0
  40. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_dev/__main__.py +0 -0
  41. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_dev/code_style.py +0 -0
  42. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_dev/packaging.py +0 -0
  43. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/cli_dev/shell_completion.py +0 -0
  44. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/constants.py +0 -0
  45. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/tests/test_doctests.py +0 -0
  46. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/tests/test_project_setup.py +0 -0
  47. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/tests/test_readme_history.py +0 -0
  48. {mposcli-0.2.0 → mposcli-0.4.0}/mposcli/tools.py +0 -0
  49. {mposcli-0.2.0 → mposcli-0.4.0}/noxfile.py +0 -0
  50. {mposcli-0.2.0 → mposcli-0.4.0}/pyproject.toml +0 -0
@@ -2,6 +2,6 @@
2
2
  # See https://pre-commit.com for more information
3
3
  repos:
4
4
  - repo: https://github.com/jedie/cli-base-utilities
5
- rev: v0.27.4
5
+ rev: v0.28.0
6
6
  hooks:
7
7
  - id: update-readme-history
@@ -4,10 +4,9 @@
4
4
  <option name="ENV_FILES" value="" />
5
5
  <option name="INTERPRETER_OPTIONS" value="" />
6
6
  <option name="PARENT_ENVS" value="true" />
7
- <option name="SDK_HOME" value="$PROJECT_DIR$/.venv/bin/python3" />
8
- <option name="SDK_NAME" value="uv (mposcli) (2)" />
7
+ <option name="SDK_HOME" value="" />
9
8
  <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
10
- <option name="IS_MODULE_SDK" value="false" />
9
+ <option name="IS_MODULE_SDK" value="true" />
11
10
  <option name="ADD_CONTENT_ROOTS" value="false" />
12
11
  <option name="ADD_SOURCE_ROOTS" value="false" />
13
12
  <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mposcli
3
- Version: 0.2.0
3
+ Version: 0.4.0
4
4
  Summary: CLI helper for MicroPythonOS: https://github.com/MicroPythonOS/MicroPythonOS
5
5
  Project-URL: Documentation, https://github.com/jedie/mposcli
6
6
  Project-URL: Source, https://github.com/jedie/mposcli
@@ -47,46 +47,63 @@ cd ~/MicroPythonOS
47
47
 
48
48
  [comment]: <> (✂✂✂ auto generated main help start ✂✂✂)
49
49
  ```
50
- usage: mposcli [-h] {build,cp,flash,run-desktop,update-submodules,version}
51
-
52
-
53
-
54
- ╭─ options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
55
- │ -h, --help show this help message and exit
56
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
57
- ╭─ subcommands ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
58
- │ (required)
59
- │ • build Build MicroPythonOS by calling: ./scripts/build_mpos.sh <target> see:
60
- │ https://docs.micropythonos.com/os-development/
61
- │ • cp Copy/update internal_filesystem/lib/mpos files to the device via "mpremote fs cp". Display a
62
- file chooser to select which files to copy/update. But can also be used to copy/update all
63
- │ files. see: https://docs.micropythonos.com/os-development/installing-on-esp32/
64
- • flash Flash MicroPythonOS to the device. Display a file chooser to select the image to flash. All
65
- lvgl_micropython/build/*.bin files will be shown in the file chooser. see:
66
- https://docs.micropythonos.com/os-development/installing-on-esp32/
67
- run-desktop Run MicroPythonOS on desktop. see:
68
- https://docs.micropythonos.com/getting-started/running/#running-on-desktop
69
- update-submodules Update MicroPythonOS repository and all submodules see:
70
- https://docs.micropythonos.com/os-development/linux/#optional-updating-the-code
71
- │ • version Print version and exit
72
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
50
+ usage: mposcli [-h] {build,cp,cp-app,flash,run-desktop,update,update-submodules,version}
51
+
52
+
53
+
54
+ ╭─ options ──────────────────────────────────────────────────────────────────────────────╮
55
+ │ -h, --help show this help message and exit
56
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
57
+ ╭─ subcommands ──────────────────────────────────────────────────────────────────────────╮
58
+ │ (required)
59
+ │ • build Build MicroPythonOS by calling: ./scripts/build_mpos.sh
60
+ <target> see: https://docs.micropythonos.com/os-development/
61
+ │ • cp Copy/update internal_filesystem/lib/mpos files to the device
62
+ via "mpremote fs cp". Display a file chooser to select which
63
+ │ files to copy/update. But can also be used to copy/update all
64
+ files. see: https://docs.micropythonos.com/os-development/insta
65
+ lling-on-esp32/
66
+ • cp-app Copy/update internal_filesystem/apps to the device via
67
+ "mpremote fs cp". Display a file chooser to select which app to
68
+ copy/update. But can also be used to copy/update all files.
69
+ see: https://docs.micropythonos.com/os-development/installing-o
70
+ n-esp32/
71
+ │ • flash Flash MicroPythonOS to the device. Display a file chooser to
72
+ │ select the image to flash. All lvgl_micropython/build/*.bin │
73
+ │ files will be shown in the file chooser. see: https://docs.micr │
74
+ │ opythonos.com/os-development/installing-on-esp32/ │
75
+ │ • run-desktop Run MicroPythonOS on desktop. see: https://docs.micropythonos.c │
76
+ │ om/getting-started/running/#running-on-desktop │
77
+ │ • update Update MicroPythonOS repository. Assume that there is a │
78
+ │ "origin" and/or "upstream" remote configured. Will also ask if │
79
+ │ you want to update the submodules as well, which is │
80
+ │ recommended. │
81
+ │ • update-submodules Updates MicroPythonOS git submodules only. Use "mposcli update" │
82
+ │ to update the main repository and optionally the submodules as │
83
+ │ well. see: https://docs.micropythonos.com/os-development/linux/ │
84
+ │ #optional-updating-the-code │
85
+ │ • version Print version and exit │
86
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
73
87
  ```
74
88
  [comment]: <> (✂✂✂ auto generated main help end ✂✂✂)
75
89
 
76
90
 
77
91
 
78
- ## CLI - build
92
+ ## mposcli build
79
93
 
80
94
  [comment]: <> (✂✂✂ auto generated build start ✂✂✂)
81
95
  ```
82
- usage: mposcli build [-h] [--target {esp32,esp32s3,unix,macOS}] [-v]
96
+ usage: mposcli build [-h] [{esp32,esp32s3,unix,macOS}] [-v]
83
97
 
84
- Build MicroPythonOS by calling: ./scripts/build_mpos.sh <target> see: https://docs.micropythonos.com/os-development/
98
+ Build MicroPythonOS by calling: ./scripts/build_mpos.sh <target> see:
99
+ https://docs.micropythonos.com/os-development/
85
100
 
101
+ ╭─ positional arguments ───────────────────────────────────────────────────╮
102
+ │ [{esp32,esp32s3,unix,macOS}] │
103
+ │ Target platform to build for. (default: unix) │
104
+ ╰──────────────────────────────────────────────────────────────────────────╯
86
105
  ╭─ options ────────────────────────────────────────────────────────────────╮
87
106
  │ -h, --help show this help message and exit │
88
- │ --target {esp32,esp32s3,unix,macOS} │
89
- │ Target platform to build for. (default: unix) │
90
107
  │ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable) │
91
108
  ╰──────────────────────────────────────────────────────────────────────────╯
92
109
  ```
@@ -94,79 +111,139 @@ Build MicroPythonOS by calling: ./scripts/build_mpos.sh <target> see: https://do
94
111
 
95
112
 
96
113
 
97
- ## CLI - cp
114
+ ## mposcli cp
98
115
 
99
116
  [comment]: <> (✂✂✂ auto generated cp start ✂✂✂)
100
117
  ```
101
- usage: mposcli cp [-h] [--new-file-limit INT] [--reset | --no-reset] [--repl | --no-repl] [-v]
118
+ usage: mposcli cp [-h] [CP OPTIONS]
119
+
120
+ Copy/update internal_filesystem/lib/mpos files to the device via "mpremote fs cp". Display
121
+ a file chooser to select which files to copy/update. But can also be used to copy/update
122
+ all files. see: https://docs.micropythonos.com/os-development/installing-on-esp32/
123
+
124
+ ╭─ positional arguments ─────────────────────────────────────────────────────────────────╮
125
+ │ [{None}|PATH] Optional file or directory path. (default: None) │
126
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
127
+ ╭─ options ──────────────────────────────────────────────────────────────────────────────╮
128
+ │ -h, --help show this help message and exit │
129
+ │ --new-file-limit INT How many of the newest files to show in the file chooser? │
130
+ │ (default: 10) │
131
+ │ --reset, --no-reset Reset the device after copy/update? (default: True) │
132
+ │ --repl, --no-repl After flashing/verify start REPL with mpremote to see the output │
133
+ │ of the device? (default: True) │
134
+ │ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable) │
135
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
136
+ ```
137
+ [comment]: <> (✂✂✂ auto generated cp end ✂✂✂)
138
+
139
+
102
140
 
103
- Copy/update internal_filesystem/lib/mpos files to the device via "mpremote fs cp". Display a file chooser to select which files to copy/update. But can also be used to copy/update all files. see: https://docs.micropythonos.com/os-development/installing-on-esp32/
104
141
 
105
- ╭─ options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
106
- │ -h, --help show this help message and exit │
107
- --new-file-limit INT How many of the newest files to show in the file chooser? (default: 10)
108
- │ --reset, --no-reset Reset the device after copy/update? (default: True) │
109
- │ --repl, --no-repl After flashing/verify start REPL with mpremote to see the output of the device? (default: │
110
- │ True) │
111
- │ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable) │
112
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
142
+ ## mposcli cp-app
143
+
144
+ [comment]: <> (✂✂✂ auto generated cp-app start ✂✂✂)
113
145
  ```
114
- [comment]: <> (✂✂✂ auto generated cp end ✂✂✂)
146
+ usage: mposcli cp-app [-h] [--reset | --no-reset] [--repl | --no-repl] [-v]
147
+
148
+ Copy/update internal_filesystem/apps to the device via "mpremote fs cp". Display a file
149
+ chooser to select which app to copy/update. But can also be used to copy/update all files.
150
+ see: https://docs.micropythonos.com/os-development/installing-on-esp32/
151
+
152
+ ╭─ options ──────────────────────────────────────────────────────────────────────────────╮
153
+ │ -h, --help show this help message and exit │
154
+ │ --reset, --no-reset Reset the device after copy/update? (default: True) │
155
+ │ --repl, --no-repl After flashing/verify start REPL with mpremote to see the output │
156
+ │ of the device? (default: True) │
157
+ │ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable) │
158
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
159
+ ```
160
+ [comment]: <> (✂✂✂ auto generated cp-app end ✂✂✂)
115
161
 
116
162
 
117
163
 
118
- ## CLI - flash
164
+ ## mposcli flash
119
165
 
120
166
  [comment]: <> (✂✂✂ auto generated flash start ✂✂✂)
121
167
  ```
122
168
  usage: mposcli flash [-h] [FLASH OPTIONS]
123
169
 
124
- Flash MicroPythonOS to the device. Display a file chooser to select the image to flash. All lvgl_micropython/build/*.bin files will be shown in the file chooser. see: https://docs.micropythonos.com/os-development/installing-on-esp32/
125
-
126
- ╭─ options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
127
- │ -h, --help show this help message and exit │
128
- --port STR Port used for esptool and mpremote (default: /dev/ttyUSB0) │
129
- │ --address STR Address (default: 0x0)
130
- │ --flash-size STR Flash Size (default: detect)
131
- │ --verify, --no-verify Verify after flashing? (default: True)
132
- │ --repl, --no-repl After flashing/verify start REPL with mpremote to see the output of the device? (default:
133
- True)
134
- -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable)
135
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
170
+ Flash MicroPythonOS to the device. Display a file chooser to select the image to flash.
171
+ All lvgl_micropython/build/*.bin files will be shown in the file chooser. see:
172
+ https://docs.micropythonos.com/os-development/installing-on-esp32/
173
+
174
+ ╭─ options ──────────────────────────────────────────────────────────────────────────────╮
175
+ -h, --help show this help message and exit
176
+ │ --port STR Port used for esptool and mpremote (default: /dev/ttyUSB0)
177
+ │ --address STR Address (default: 0x0)
178
+ │ --flash-size STR Flash Size (default: detect)
179
+ --verify, --no-verify Verify after flashing? (default: True)
180
+ --repl, --no-repl After flashing/verify start REPL with mpremote to see the
181
+ │ output of the device? (default: True) │
182
+ │ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable) │
183
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
136
184
  ```
137
185
  [comment]: <> (✂✂✂ auto generated flash end ✂✂✂)
138
186
 
139
187
 
140
188
 
141
- ## CLI - run-desktop
189
+ ## mposcli run-desktop
142
190
 
143
191
 
144
192
  [comment]: <> (✂✂✂ auto generated run-desktop start ✂✂✂)
145
193
  ```
146
- usage: mposcli run-desktop [-h] [--heapsize INT] [--script {None}|STR] [--binary {None}|STR] [-v]
194
+ usage: mposcli run-desktop [-h] [--heapsize INT] [--script {None}|STR] [--binary
195
+ {None}|STR] [-v]
196
+
197
+ Run MicroPythonOS on desktop. see: https://docs.micropythonos.com/getting-
198
+ started/running/#running-on-desktop
199
+
200
+ ╭─ options ──────────────────────────────────────────────────────────────────────────────╮
201
+ │ -h, --help show this help message and exit │
202
+ │ --heapsize INT Heap size in MB (default: 8, same as PSRAM on many ESP32-S3 │
203
+ │ boards) (default: 8) │
204
+ │ --script {None}|STR Script file (.py) or app name to run. If omitted, starts │
205
+ │ normally. (default: None) │
206
+ │ --binary {None}|STR Optional name of the binary to start. If omitted, shows a file │
207
+ │ chooser to select one from the lvgl_micropython build directory. │
208
+ │ (default: None) │
209
+ │ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable) │
210
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
211
+ ```
212
+ [comment]: <> (✂✂✂ auto generated run-desktop end ✂✂✂)
213
+
214
+
215
+
216
+ ## mposcli update
217
+
218
+
219
+ [comment]: <> (✂✂✂ auto generated update start ✂✂✂)
220
+ ```
221
+ usage: mposcli update [-h] [-v]
147
222
 
148
- Run MicroPythonOS on desktop. see: https://docs.micropythonos.com/getting-started/running/#running-on-desktop
223
+ Update MicroPythonOS repository. Assume that there is a "origin" and/or "upstream" remote
224
+ configured. Will also ask if you want to update the submodules as well, which is
225
+ recommended.
149
226
 
150
- ╭─ options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
151
- │ -h, --help show this help message and exit
152
- │ --heapsize INT Heap size in MB (default: 8, same as PSRAM on many ESP32-S3 boards) (default: 8)
153
- │ --script {None}|STR Script file (.py) or app name to run. If omitted, starts normally. (default: None) │
154
- │ --binary {None}|STR Optional name of the binary to start. If omitted, shows a file chooser to select one from the │
155
- │ lvgl_micropython build directory. (default: None) │
156
- │ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable) │
157
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
227
+ ╭─ options ────────────────────────────────────────────────────────────────╮
228
+ │ -h, --help show this help message and exit
229
+ -v, --verbosity Verbosity level; e.g.: -v, -vv, -vvv, etc. (repeatable)
230
+ ╰──────────────────────────────────────────────────────────────────────────╯
158
231
  ```
159
- [comment]: <> (✂✂✂ auto generated run-desktop end ✂✂✂)
232
+ [comment]: <> (✂✂✂ auto generated update end ✂✂✂)
233
+
234
+
160
235
 
161
236
 
162
- ## CLI - update-submodules
237
+ ## mposcli update-submodules
163
238
 
164
239
 
165
240
  [comment]: <> (✂✂✂ auto generated update-submodules start ✂✂✂)
166
241
  ```
167
242
  usage: mposcli update-submodules [-h] [-v]
168
243
 
169
- Update MicroPythonOS repository and all submodules see: https://docs.micropythonos.com/os-development/linux/#optional-updating-the-code
244
+ Updates MicroPythonOS git submodules only. Use "mposcli update" to update the main
245
+ repository and optionally the submodules as well. see: https://docs.micropythonos.com/os-
246
+ development/linux/#optional-updating-the-code
170
247
 
171
248
  ╭─ options ────────────────────────────────────────────────────────────────╮
172
249
  │ -h, --help show this help message and exit │
@@ -200,36 +277,38 @@ A virtual environment will be created/updated automatically.
200
277
 
201
278
  [comment]: <> (✂✂✂ auto generated dev help start ✂✂✂)
202
279
  ```
203
- usage: ./dev-cli.py [-h] {coverage,install,lint,mypy,nox,pip-audit,publish,shell-completion,test,update,update-readme-history,update-test-snapshot-files,version}
204
-
205
-
206
-
207
- ╭─ options ────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
208
- -h, --help show this help message and exit │
209
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
210
- ╭─ subcommands ────────────────────────────────────────────────────────────────────────────────────────────────────────╮
211
- (required) │
212
- coverage Run tests and show coverage report.
213
- │ • install Install requirements and 'mposcli' via pip as editable.
214
- │ • lint Check/fix code style by run: "ruff check --fix"
215
- │ • mypy Run Mypy (configured in pyproject.toml)
216
- │ • nox Run nox
217
- │ • pip-audit Run pip-audit check against current requirements files
218
- │ • publish Build and upload this project to PyPi
219
- │ • shell-completion
220
- Setup shell completion for this CLI (Currently only for bash shell)
221
- test Run unittests
222
- │ • update Update dependencies (uv.lock) and git pre-commit hooks
223
- │ • update-readme-history
224
- Update project history base on git commits/tags in README.md Will be exited with 1 if the README.md
225
- was updated otherwise with 0.
226
-
227
- Also, callable via e.g.:
228
- python -m cli_base update-readme-history -v
229
- update-test-snapshot-files
230
- Update all test snapshot files (by remove and recreate all snapshot files)
231
- version Print version and exit
232
- ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
280
+ usage: ./dev-cli.py [-h] {coverage,install,lint,mypy,nox,pip-audit,publish,shell-
281
+ completion,test,update,update-readme-history,update-test-snapshot-files,version}
282
+
283
+
284
+
285
+ ╭─ options ──────────────────────────────────────────────────────────────────────────────╮
286
+ │ -h, --help show this help message and exit │
287
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
288
+ ╭─ subcommands ──────────────────────────────────────────────────────────────────────────╮
289
+ (required)
290
+ │ • coverage Run tests and show coverage report.
291
+ │ • install Install requirements and 'mposcli' via pip as editable.
292
+ │ • lint Check/fix code style by run: "ruff check --fix"
293
+ │ • mypy Run Mypy (configured in pyproject.toml)
294
+ │ • nox Run nox
295
+ │ • pip-audit Run pip-audit check against current requirements files
296
+ │ • publish Build and upload this project to PyPi
297
+ shell-completion
298
+ Setup shell completion for this CLI (Currently only for bash shell)
299
+ │ • test Run unittests
300
+ │ • update Update dependencies (uv.lock) and git pre-commit hooks
301
+ update-readme-history
302
+ Update project history base on git commits/tags in README.md Will be
303
+ exited with 1 if the README.md was updated otherwise with 0.
304
+
305
+ Also, callable via e.g.:
306
+ python -m cli_base update-readme-history -v
307
+ update-test-snapshot-files
308
+ Update all test snapshot files (by remove and recreate all snapshot
309
+ │ files) │
310
+ │ • version Print version and exit │
311
+ ╰────────────────────────────────────────────────────────────────────────────────────────╯
233
312
  ```
234
313
  [comment]: <> (✂✂✂ auto generated dev help end ✂✂✂)
235
314
 
@@ -238,6 +317,16 @@ usage: ./dev-cli.py [-h] {coverage,install,lint,mypy,nox,pip-audit,publish,shell
238
317
 
239
318
  [comment]: <> (✂✂✂ auto generated history start ✂✂✂)
240
319
 
320
+ * [v0.4.0](https://github.com/jedie/mposcli/compare/v0.3.0...v0.4.0)
321
+ * 2026-02-24 - NEW command: "cp-app" to install/update internal_filesystem/apps
322
+ * 2026-02-24 - Log skipped files
323
+ * 2026-02-23 - Update requirements and fix code style
324
+ * 2026-02-23 - "build" command: target as positional argument
325
+ * 2026-02-23 - Expand "cp" command and allow optional filesystem path
326
+ * [v0.3.0](https://github.com/jedie/mposcli/compare/v0.2.0...v0.3.0)
327
+ * 2026-02-18 - Add "update" beside "update-submodules"
328
+ * 2026-02-17 - Update requirements
329
+ * 2026-02-16 - update README
241
330
  * [v0.2.0](https://github.com/jedie/mposcli/compare/v0.1.0...v0.2.0)
242
331
  * 2026-02-16 - New CLI command: "cp" with convenience features.
243
332
  * 2026-02-16 - New command: "flash" with file selector