apalache icon indicating copy to clipboard operation
apalache copied to clipboard

[FEATURE] Integrate all CLI options (especially the tuning options) into the configuration management system

Open shonfeder opened this issue 2 years ago • 2 comments

With #1160, it should be quite simple to add new configurations through the configuration system. We should expose all configurations that are currently configurable via CLI via the configuration files too.

In particular, the tuning options are a good fit for this.

I propose making this work item dependent on #1174: once we have moved the configuration parameters into a class, it will be trivial to drop the class into the the class targeted by PureConfig.

Suggested by @konnov https://github.com/informalsystems/apalache/pull/1160/files#r769408346

shonfeder avatar Dec 15 '21 13:12 shonfeder

Just leaving a note to document that we currently have two kinds of boolean commandline flags:

  • binary flags, e.g., --debug and --smtprof, and
  • tri-state flags, e.g., --profiling and --write-intermediate

The latter are 3-state to enable overriding env vars + config options. These should probably be unified as part of this effort.

thpani avatar Mar 31 '22 08:03 thpani

The problem @thpani identified should be fixed by https://github.com/informalsystems/apalache/pull/2041

shonfeder avatar Aug 12 '22 01:08 shonfeder