github philocalyst/infat v2.0.0

latest releases: v3.1.2, v3.1.0, v3.0.3...
16 months ago

What's new

Added

  • Enforce that exactly one of --scheme, --type, or --ext is provided in both the Info and Set commands; throw clear errors when options are missing or conflicting.
  • Introduce a new --type option to the Info command, allowing users to list both the default and all registered applications for a given supertype (e.g. text).
  • Add the plain-text supertype (mapped to UTType.plainText) to the set of supported conformances.
  • Render configuration section headings ([extensions], [types], [schemes]) in bold & underlined text when processing TOML files.

Changed

  • Require at least one of the [extensions], [types], or [schemes] tables in the TOML configuration (instead of mandating all); process each table if present, emit a debug-level log when a table is missing, and standardize table naming.
  • Change the default logging level for verbose mode from debug to trace.
  • Strengthen error handling in _setDefaultApplication: after attempting to set a default opener, verify success and log an info on success or a warning on failure.

Deprecated

  • Rename the List command to Info.
  • Renamed files table to extensions to match with cli options

Don't miss a new infat release

NewReleases is sending notifications on new releases.