Repository navigation
Conversation
Add a completion spec for kmutil, the KernelManagement utility for managing kernel extensions (kexts) and kext collections on macOS. Cover all 17 subcommands (create, rebuild, load, unload, log, libraries, dumpstate, inspect, clear-staging, configure-boot, find, showloaded, trigger-panic-medic, check, print-diagnostics, emit-macho, and path-for-identifier) along with their options. Shared option groups that kmutil repeats across subcommands (global, bundle, identifier, filter, repository, version and collection options) are declared once and spread into the subcommands that accept them, so the spec stays in sync with how the tool groups its flags. Options and their arguments were taken from kmutil's own help output on macOS 26 and cross-checked against the kmutil(8) man page.
Contributor
|
I have read the CLA Document and I hereby sign the CLA You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot. |
Contributor
Overviewsrc/kmutil.ts:Info: |
Contributor
|
Hello @ump45nose,
Please add a 👍 as a reaction to this comment to show that you read this. |
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.
Closes #937
Adds a completion spec for
kmutil, the Apple kernel-extension/collection management tool(
kmutil(1)on macOS 11+).The spec covers the shared options (
--variant-suffix,--arch,--no-authorization,--verbose,--help), the extension/collection selectors (--bundle-path,--bundle-identifier), and the subcommandscheck,clear-staging,create,find,inspect,install,list,load,logs,showloaded,stat,unload,uninstall,dumpstate,helpandprint-diagnostics.Every option and subcommand name and description was taken from
kmutil help,kmutil <subcommand> helpand thekmutil(1)man page, so nothing is invented.Testing:
npx tsc --noEmitonsrc/kmutil.tssucceeds, andyarn run lintreports no newfindings. I cannot launch the Fig client on this machine, so the spec was not exercised
end-to-end in a shell.