jacek-kurlit / pik

Process Interactive Kill
https://crates.io/crates/pik
MIT License
186 stars 6 forks source link

Add configuration #10

Closed jacek-kurlit closed 1 month ago

jacek-kurlit commented 4 months ago

Allow to configure user default values for full screen or height so that user can choose their default behavior

I think we should

  1. Create default config with all current defaults (like height 20)
  2. If config file exists override config from 1 with them
  3. If user has provided any config arg via cli then override config from 2 with selected params

I'm not sure if this is exact algorithm but results should be the same cli args > config > defaults

jacek-kurlit commented 2 months ago

I'm going to implement this