You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add commands for models and programs CLIs, with root mf namespace
* add : interactive bindir prompt like flopy's get-modflow, with similar options
* fix exe path resolution
mf models sync --repo MODFLOW-ORG/modflow6-testmodels --ref f3df630 # commit hash works too
361
354
```
362
355
363
-
Perhaps leading with a `models` command namespace is too generic, and we need e.g. a leading `mf` namespace on all commands exposed by `modflow-devtools`:
356
+
CLI commands are available in two forms:
364
357
365
358
```bash
359
+
# Using the mf namespace (shorter)
366
360
mf models info
367
361
mf models sync
362
+
363
+
# Or using the module form
364
+
python -m modflow_devtools.models info
365
+
python -m modflow_devtools.models sync
368
366
```
369
367
368
+
The `mf` command provides a unified CLI namespace for all `modflow-devtools` commands.
369
+
370
370
#### Automatic sync
371
371
372
372
At install time, `modflow-devtools` can load the bootstrap file and attempt to sync to all configured repositories/registries. The install should not fail if registry sync fails (due either to network errors or misconfiguration), however — an informative warning can be shown, and sync retried on subsequent imports and/or manually (see below).
0 commit comments