Command line arguments

Hey I’m sorry for this basic (dumb?) question…
Is it possible to replace the command line arguments with hard-coded declarations in the .py project?
This is getting too overloaded so I want to move all the args to the project:
sudo ./runtext.py --led-rows=32 --led-cols=64 --led-slowdown-gpio=5 --led-pwm-bits=4 --led-chain=24 --led-pixel-mapper=“U-mapper;Rotate:90”

Surely you can do that like this.

options = RGBMatrixOptions()
options.cols = 64
options.rows = 64
options.chain_length = 2
options.parallel = 1
options.brightness = 80

if(pi_version == 4):
    options.gpio_slowdown =  4
elif(pi_version == 3):
    options.gpio_slowdown =  1.0
else:    
    options.gpio_slowdown =  1

options.show_refresh_rate = 1
options.hardware_mapping = 'regular'  # If you have an Adafruit HAT: 'adafruit-hat'
options.pwm_dither_bits = 0

matrix = RGBMatrix(options = options)
...