Add nrfcloud-util base command#84
Merged
Merged
Conversation
Several changes, related to adding a base command named `nrfcloud-util`, so
users can run it via eg `uvx nrfcloud-util blahblah`, for aiding
discoverability.
- add the base command, and collect subcommand args into it
- this is a bit awkward, because we want to preserve the old names for
the base commands (don't require running each as `nrfcloud-utils
claim_and_provision_device ...`, keep the old direct names
`claim_and_provision_device ...`)
- fix up pyproject.toml to adhere to PEP 621 (instead of using
poetry-specific configs), so we can use `uv` as tooling if we want to
instead of being fixed to `poetry` (poetry since version 2.0 has
supported these, so there's no loss)
- update poetry version to latest since I'm touching everything anyway!
maxd-nordic
approved these changes
Apr 27, 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.
Several changes, related to adding a base command named
nrfcloud-util, sousers can run it via eg
uvx nrfcloud-util blahblah, for aidingdiscoverability.
add the base command, and collect subcommand args into it
the base commands (don't require running each as
nrfcloud-utils claim_and_provision_device ..., keep the old direct namesclaim_and_provision_device ...)fix up pyproject.toml to adhere to PEP 621 (instead of using
poetry-specific configs), so we can use
uvas tooling if we want toinstead of being fixed to
poetry(poetry since version 2.0 hassupported these, so there's no loss)
update poetry version to latest since I'm touching everything anyway!