Adding Custom Parameters to elgg-cli Seeder Command

Hi everyone,

I'm using the elgg-cli seeder to generate data, and I'm wondering: 

Is it possible to add custom parameters when running a seeder via elgg-cli?

For example, something like:


vendor/bin/elgg-cli databse:seed -t customSeeder --limit=100 --my-custom-param=value

 

I'd like to pass additional context or configuration to my custom seeder class.

If this is supported, how can I retrieve the custom parameter inside the seeder logic?

If not, is there a recommended way to extend the CLI to support this?

Thanks in advance!

Regards,

Beginning Developers

Beginning Developers

This space is for newcomers, who wish to build a new plugin or to customize an existing one to their liking