I try to automate the tasks given by maintenance modules to be done manually, since I find it more interesting. For Winter 23 App Builder maintenance, App Builder should create a permission set and assign it to some user.
There is an SFDX command to assign a permission set
sfdx force:user:permset:assign -n Name -o user -u org
however, it doesn't have a parameter to specify expiration date, so if I try to execute
sfdx force:user:permset:assign -n ReportPermissions, such command won't set the expiration date.
How can I assign a permission set with expiration date by a code or a script?