Skip to content

Add nrfcloud-util base command#84

Merged
noahp merged 1 commit into
mainfrom
noahp/base-command
Apr 27, 2026
Merged

Add nrfcloud-util base command#84
noahp merged 1 commit into
mainfrom
noahp/base-command

Conversation

@noahp
Copy link
Copy Markdown
Contributor

@noahp noahp commented Apr 27, 2026

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!

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!
@noahp noahp merged commit 7f67455 into main Apr 27, 2026
5 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.

2 participants