4 Commits

Author SHA1 Message Date
Omay
62e78d40e9
Include primary version in printed acceptable versions list (#280)
fix #255
2024-04-21 12:43:31 +01:00
comp500
1f09959be6 Remove viper settings for acceptable-versions --add/--remove flags 2023-10-22 11:32:38 +01:00
comp500
41465407b2 Fix out of bounds array access in acceptable-versions command 2023-06-27 00:46:26 +01:00
Matt Artist
a344ba11ba
Add a command for changing the acceptable versions (#206)
* feat: add packwiz settings command to allow for changing acceptable versions

* Add deduping on the list

* Fix typo in comment

* Detect out of order list and give the user an option to correct it

* Support adding and removing specific versions

* Ensure the options aren't nil

* Clean up the slice removal boilerplate

* Fix usage of slices.Delete
2023-04-08 19:00:40 +01:00