Changing a scenario's duration from the CLI

Hi, is it possible to change a scenario’s duration from the command line?

Yes, using k6 environment variables you can inject values in the exported options from the cli, including in scenarios: https://k6.io/docs/using-k6/environment-variables/

See Is it possible to pass vus value in k6 CLI using constant-vus executor in config.js? for an example