Added

nRF Util

tags
nRF Util
  • Automatically generate nrfutil-core config entries for modifiers if the user invokes nrfutil with NRFUTIL_PACKAGE_INDEX_URL and/or NRFUTIL_NET_GIT_FETCH_WITH_CLI and an unrecognised modifier. The means that running:
NRFUTIL_NET_GIT_FETCH_WITH_CLI=true NRFUTIL_PACKAGE_INDEX_URL=https://github.com/(user)/nrfutil-package-index nrfutil +internal search

And there is no modifier called internal already, or no config at all, then the following config or entry will be created:

{
  "modifiers": {
    "internal": {
      "package_index_url": "https://github.com/(user)/nrfutil-package-index",
      "git_fetch_with_cli": true
    }
  }
}

After that, running the command:

nrfutil +internal search

will use the new modifier and run as if you had the environment variables set up.