Pergunta de entrevista da empresa Metro Markets

Build CLI with PHP which you accept different known commands line combined with filter argument values, for example, price_range or specific id. the data should be fetched from a remote endpoint or local file which might be JSON or XML or CSV and use the filter arguments to return the filtered data count only.

Resposta da entrevista

Sigiloso

29 de jul. de 2023

I build it with plain PHP with strategy and factory design patterns.