csharpier icon indicating copy to clipboard operation
csharpier copied to clipboard

Make some options available via configuration file as well as CLI

Open belav opened this issue 1 month ago • 0 comments

Currently the configuration file only has options around how the formatting of files should be done. It would be useful to allow some of the CLI options to be specified in configuration files. If the option is provided in both places the CLI would take priority.

I think these could be allowed in the configuration file

  • include-generated
  • no-msbuild-check
  • compiltation-errors-as-warnings
  • unformatted-as-warnings

These are a maybe

  • skip-validation
  • ignore-path
  • no-cache

These would be CLI only

  • config-path
  • log-format
  • log-level

belav avatar Nov 09 '25 21:11 belav