Electrum Gap Limit from CLI
The only way is to edit the json code in the wallet file and add the gap limit into it. You can do that using the command line tool jq:

jq ". + {gap_limit:100}" wallet_file