How to enable confluence dark features using the CLI


The CLI can be used to enable or disable dark features that can be dynamically set on the admin/darkfeatures.action screen. You have to know the key to the dark feature you want to set (smile).

Example - Enable

-a renderRequest --request admin/enabledarkfeature.action --requestParameters "featureKey=read.only.mode" -f ""

Example - Disable

-a renderRequest --request admin/disabledarkfeature.action --requestParameters "featureKey=read.only.mode" -f ""