Skip to content

Add macOS subcommand handlers#98

Merged
ldayton merged 8 commits intomainfrom
add-subcommand-handlers
Jan 24, 2026
Merged

Add macOS subcommand handlers#98
ldayton merged 8 commits intomainfrom
add-subcommand-handlers

Conversation

@ldayton
Copy link
Owner

@ldayton ldayton commented Jan 24, 2026

Summary

  • Add handlers for macOS system configuration utilities
  • Each uses subcommand-style classification (safe operations allowed, others prompt)

defaults: read/read-type/domains/find/help
dscl: read/list/search/diff
scutil: --get/--dns/--proxy/-r/-w

Subcommand-style handlers for macOS system utilities:
- defaults: read/read-type/domains/find/help are safe
- dscl: read/list/search/diff are safe (with or without dash)
- scutil: --get/--dns/--proxy/-r/-w are safe
- spctl: --assess/--status/--disable-status are safe
- diskutil: list/info/activity/listFilesystems are safe
- hdiutil: help/info/verify/checksum/imageinfo/isencrypted/plugins/pmap are safe
-get*/-list*/-show*/-is*/-version/-help/-printcommands are safe
list/print*/blame/plist/procinfo/hostinfo/dumpstate/manager*/version/help/getenv are safe
find-*/get-*/show-*/dump-*/verify-*/list-smartcards/translocate-*/help/error/leaks are safe
help/version/destinationinfo/isexcluded/list*/compare/verifychecksums are safe
help/status/list/show/validate/version are safe
@ldayton ldayton merged commit 462e0f1 into main Jan 24, 2026
1 check passed
@ldayton ldayton deleted the add-subcommand-handlers branch January 24, 2026 14:34
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.

1 participant