Repository navigation
refactor: -f/--config is the single configuration flag - #134
Merged
Merged
Conversation
Remove the --tm alias and the --thing-model/--thing-description kind-assertion flags added with the CSV restoration: --config detects v1 CSV, WoT TM/TD JSON and modiohub: Workspace references from the content, so one flag covers every source and docs, examples and web commands all speak --config. The removed spellings are rejected as unrecognized arguments; load_devices keeps its optional kind assertion as an internal API. Usage errors keep the one-line exit-code-2 style; --full-read still rejects CSV configurations.
This was referenced Nov 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--tmalias and the--thing-model/--thing-description/--tdkind-assertion flags:-f/--configdetects v1 CSV, WoT TM/TD JSON andmodiohub:Workspace references from the content, so one flag covers every configuration source. Docs, examples and the ModioHub web commands all speak--configalready; this removes the confusing alternatives (maintainer decision 2026-11-12, follow-up to POLL-05 / feat: restore v1 CSV configurations behind content detection #132).load_deviceskeeps its optionalkindassertion as an internal/test API; usage errors keep the one-line exit-code-2 style;--full-readstill rejects CSV configurations.Verification
make checkpasses;pytest tests -m "not integration": 237 passed, 58 deselected.--config examples/modsim.csvand-f examples/modsim.tm.jsonboth exit 0 with byte-identical 37-point snapshots;--tmis rejected with "unrecognized arguments".