Sets the value of a server configuration option. For scalar values (numbers, strings), pass the value directly. For array values (e.g. hoggeragents, extypes), pass a JSON array string.
wp admintools htmaker set <key> <value>
<key>The configuration option key.
<value>The value to set. Use a JSON array string for array options.
Set expiration time to level 2:
wp admintools htmaker set exptime 2
Disable automatic compression:
wp admintools htmaker set autocompress 0
Set an array option using JSON:
wp admintools htmaker set extypes '["jpg","png","gif","css","js"]'
Success: Option 'exptime' updated.